Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 05:17

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



The New Upgrade System Script

Discussion on The New Upgrade System Script within the DarkOrbit forum part of the Browsergames category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: May 2010
Posts: 681
Received Thanks: 268
The New Upgrade System Script

Hi. Here is the new upgrade system script:
I'm studing this new script and maybe i could find some new bugs Please search, and if u find something interesting pls pm me!!!

At this moment I found how to influence upgrade succes chance with 5% uridium :P The one who want to know pls join UG 2.0 (elitepvpers ug).
L.E:
NEW! There is no 100% chance for upgrade. There is a change of <100 that means it is 99%!!! I missed an upgrade at 100% as many users wich said this on other forums!!!
Just look in function PlusUpgrade there is if(val < 100) and it should be if(val <= 100)
More thinks incoming!
popmircea95 is offline  
Thanks
6 Users
Old 12/08/2011, 19:48   #2
 
Sir'Gee's Avatar
 
elite*gold: 7
Join Date: Jun 2010
Posts: 1,233
Received Thanks: 499
Let me see this for 2h, I will find a way.
Sir'Gee is offline  
Thanks
1 User
Old 12/08/2011, 20:05   #3
 
elite*gold: 0
Join Date: May 2010
Posts: 681
Received Thanks: 268
My friend missed 12 upgrades at 100%(lasers, drones and shields).
popmircea95 is offline  
Thanks
1 User
Old 12/08/2011, 20:15   #4
 
elite*gold: 0
Join Date: Jul 2010
Posts: 11
Received Thanks: 1
What´s UG 2.0 (elitepvpers ug).???
ALVARO01 is offline  
Old 12/08/2011, 20:16   #5



 
Serraniel's Avatar
 
elite*gold: 0
The Black Market: 205/1/0
Join Date: May 2010
Posts: 6,853
Received Thanks: 5,106
I tryed to upgrade 8 items. All 50% chance and only 1 got upgraded -.-'
Serraniel is offline  
Old 12/08/2011, 20:23   #6
 
elite*gold: 0
Join Date: May 2010
Posts: 681
Received Thanks: 268
OMG! BP is ******* cheating!!!
Please delete this topic, I'll post everything in UG!!! The guys here only want too leech, look at views!
popmircea95 is offline  
Thanks
1 User
Old 12/08/2011, 20:24   #7
 
elite*gold: 0
Join Date: Jul 2010
Posts: 11
Received Thanks: 1
Can u tell me what´s UG?
ALVARO01 is offline  
Old 12/08/2011, 20:37   #8
 
matador-darkorbit's Avatar
 
elite*gold: 0
Join Date: Jul 2010
Posts: 302
Received Thanks: 92
Quote:
Originally Posted by ALVARO01 View Post
Can u tell me what´s UG?
this is spam!!
search and you will find-.- there are many topics explaining what is UG..
matador-darkorbit is offline  
Old 12/08/2011, 20:51   #9
 
elite*gold: 0
Join Date: May 2010
Posts: 681
Received Thanks: 268
It's added to sticky Omg
popmircea95 is offline  
Old 12/08/2011, 21:35   #10
 
elite*gold: 0
Join Date: Oct 2010
Posts: 38
Received Thanks: 18
Quote:
Originally Posted by ALVARO01 View Post
Can u tell me what´s UG?
UG = UNDERGROUND Forum
Look
moldoveanu is offline  
Thanks
2 Users
Old 12/08/2011, 22:01   #11
 
Sir'Gee's Avatar
 
elite*gold: 7
Join Date: Jun 2010
Posts: 1,233
Received Thanks: 499
#Close Request

Get the Information by yourself and don't make all public.
Sir'Gee is offline  
Old 12/09/2011, 04:10   #12
Moderator

 
Snorlax's Avatar
 
elite*gold: 0
The Black Market: 170/0/0
Join Date: Nov 2008
Posts: 12,447
Received Thanks: 5,494
Quote:
Originally Posted by popmircea95 View Post
OMG! BP is ******* cheating!!!
Please delete this topic, I'll post everything in UG!!! The guys here only want too leech, look at views!
just edit your startpost.
Snorlax is offline  
Old 12/09/2011, 07:25   #13
 
crs67's Avatar
 
elite*gold: 5
Join Date: Sep 2010
Posts: 329
Received Thanks: 129
Angry

Quote:
Originally Posted by popmircea95 View Post
OMG! BP is ******* cheating!!!
Please delete this topic, I'll post everything in UG!!! The guys here only want too leech, look at views!
Edit and delete.
crs67 is offline  
Old 12/09/2011, 08:12   #14
 
elite*gold: 0
Join Date: Sep 2011
Posts: 21
Received Thanks: 2
Nome. There is no way to "hack" it. This is javascript, it's client side, and it sends a request to the server. All information is processed at the server. The only logical and possible way is by use of an "injection" which I have tried a couple times to no avail.
Code:
function numbersonly(e) {
var key;
var keychar;
if(window.event) key = window.event.keyCode;
else if(e) key = e.which;
else return true;
keychar = String.fromCharCode(key);
if((key==null)||(key==0)||(key==8)||
(key==9)||(key==13)||(key==27)) return true;
else if((('0123456789').indexOf(keychar)>-1))
return true;
else return false;
}
ensures you may not type in anything other than numbers (I disabled that so I could use backslashes and other chars) on the other hand,
Code:
function percentonly(input) {
val = parseInt(input.value);
if(val<5) val=5;
if(val>100) val=100;
if(val%5!=0) {
val = Math.round(val/10)*10;
}
input.value = val+'%';
jQuery('#chanceInfo').text(val+'%');
grade = val/5;
level = jQuery('#itemLevel').val()-1;
currency = jQuery('#itemCurrency').val();
currencyValue = jQuery('#itemCurrencyValue').val();
updateUpgradeInfo(grade, level, currency, currencyValue);
}

function minusUpgrade() {
val = parseInt(jQuery('#itemUpgradePercent').val());
if(val > 5) {
jQuery('#itemUpgradePercent').val(val-5+'%');
if (parseInt(jQuery('#itemUpgradePercent').val()) < 100) {
jQuery("#itemUpgradeButton div").html(buttonTextStartAttempt);
} else {
jQuery("#itemUpgradeButton div").html(buttonTextStart);
}
jQuery('#chanceInfo').text(val-5+'%');
grade = (val-5)/5;
level = jQuery('#itemLevel').val();
currency = jQuery('#itemCurrency').val();
currencyValue = jQuery('#itemCurrencyValue').val();
updateUpgradeInfo(grade, level-1, currency, currencyValue);
}
}

function plusUpgrade() {
val = parseInt(jQuery('#itemUpgradePercent').val());
if(val < 100) {
jQuery('#itemUpgradePercent').val(val+5+'%');
if (parseInt(jQuery('#itemUpgradePercent').val()) < 100) {
jQuery("#itemUpgradeButton div").html(buttonTextStartAttempt);
} else {
jQuery("#itemUpgradeButton div").html(buttonTextStart);
}
jQuery('#chanceInfo').text(val+5+'%');
grade = (val+5)/5;
level = jQuery('#itemLevel').val();
currency = jQuery('#itemCurrency').val();
currencyValue = jQuery('#itemCurrencyValue').val();
updateUpgradeInfo(grade, level-1, currency, currencyValue);
} else {
jQuery("#itemUpgradeButton").val(buttonTextStart);
}
}

function updateUpgradeInfo(grade, level, currency, currencyValue, resource_bonus, resource_bonus_short, resource_bonus_percent) {
if(grade != 1) {
// basic-costs + upgrade-costs
if(currency == 'Credits') {
costs_level_upgrade = 125000+level*125000*0.2;
for(var i=2; i<=grade; i++) {
costs_level_upgrade += 100000+i*0.05*level*500000;
}
}
else {
costs_level_upgrade = 200+level*200*0.75;
for(var i=2; i<=grade; i++) {
costs_level_upgrade += 60+(i-2)*15+level*15; //Uridium
}
}
} else {
// basic-costs
if(currency == 'Credits') costs_level_upgrade = 125000+level*125000*0.2;
else costs_level_upgrade = 200+level*200*0.75; //Uridium
}
costs_level_upgrade = 0.95*costs_level_upgrade;
jQuery('#costsInfo').text(parseInt(costs_level_upg rade)+' '+currencyValue);
bonus = jQuery('#itemBonus').val();
if(bonus.indexOf('/') != -1) {
bonus = bonus.split('/');
bonus = resource_bonus_percent.replace("%VALUE%", Math.round(parseFloat(bonus[0]*(level+1))*10)/10)
+'/'+resource_bonus_percent.replace("%VALUE%", Math.round(parseFloat(bonus[1]*(level+1))*10)/10);
} else bonus = resource_bonus_percent.replace("%VALUE%", Math.round(parseFloat(jQuery('#itemBonus').val()*( level+1))*10)/10);
jQuery('#bonusInfoTxt').attr('title',resource_bonu s_short).html(resource_bonus);
jQuery('#bonusInfo').text(bonus);
}

function updateUpgradeStatus(itemId, interval) {
upgrInfoText = '%VALUE%%';
upgrReadyText = 'Gata - clichează aici';
progress = parseFloat(jQuery('#progressId'+itemId).val());
tick = parseFloat(jQuery('#tickId'+itemId).val());
progress = progress+tick;
if(progress >= 100) {
interval=clearInterval(interval);
progress = 100;
jQuery('#infoId'+itemId).text(upgrReadyText);
finishUpgradeView(itemId);
jQuery('#upgrListItemId'+itemId).css('cursor','poi nter').click(function() {
document.upgradeForm.itemID.value=itemId;
document.upgradeForm.itemLevel.value=jQuery('#item LevelId'+itemId).text();
document.upgradeForm.itemType.value=jQuery('#typeI d'+itemId).val();
document.upgradeForm.submit();
});
jQuery('#itemLevel_'+itemId).css('background-position','-120px 0');
} else {
jQuery('#progressId'+itemId).val(progress);
upgrInfoText = upgrInfoText.replace("%VALUE%", Math.round(progress));
jQuery('#progressBar'+itemId).css('width',Math.rou nd(progress)+'%');
jQuery('#infoId'+itemId).text(upgrInfoText);
}
}
If we manage to change the values and submit to the server say level 2 upgrade, 100% chance, 5 credits; we might make it through, but I believe the server checks things like that.

This is what a request looks like for trying to upgrade a flax to lvl 3 from lvl 2

Code:
Request URL:http://us1.darkorbit.bigpoint.com/indexInternal.es
Request Method:POST
reloadToken: <HIDDEN>
action:internalItemUpgradeSystem
subAction:completeUpgrade
itemID:<HIDDEN>
itemLevel:2
itemType:drone
selectedType:
It convinces me that it is server-side checked.
0x60 is offline  
Old 12/09/2011, 11:42   #15
 
elite*gold: 0
Join Date: Aug 2011
Posts: 442
Received Thanks: 78
Cause it is, they wouldnt make the code so easy to find and exploit it would be checked in the php.
logical691 is offline  
Closed Thread


Similar Threads Similar Threads
Darkorbit UPGRADE SYSTEM
12/12/2011 - DarkOrbit - 32 Replies
Hallo Es gibt wieder ein neues Update: Deutsche DO FORUM: Hallo Spacepiloten, Seit unserer Offensive in die Piratensektoren haben wir viel gelernt und es tauchen immer neue Technologien in den Wracks der Piraten auf. Die neueste Entdeckung ist die Upgrade-Technologie. Sie erlaubt uns einige unserer Ausrüstungsgegestände aufzuwerten und sie mit einem Bonus zu versehen.
Baruna Upgrade System verändern
07/10/2011 - Flyff Private Server - 3 Replies
Hey, ich find das Baruna Upgrade System sche... Kann man das irgendwie verändern, das man wie beim normalen, 10 sockeln reinhaun kann, und bei +10 (bzw +20 bei baruna) dann 5 Ulti slots hat? Wenn ja, wie?
how to change upgrade system??????
05/16/2011 - Metin2 Private Server - 3 Replies
hey guys i would like to know how to change the upgrade system of my server plssss answer fast in this post not like the others thanks
[Req]New upgrade system LOTF
08/07/2009 - CO2 Private Server - 3 Replies
I need help to add new upgrade system on global (minor major progres) for guide to add horse (LOTF)



All times are GMT +1. The time now is 05:17.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.