Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 12:47

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

 

The New Upgrade System Script

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   #2
 
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   #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   #4
 
elite*gold: 0
Join Date: Jul 2010
Posts: 11
Received Thanks: 1
What´s UG 2.0 (elitepvpers ug).???


ALVARO01 is offline  
Old   #5
SweetnessOverflow



 
elite*gold: 520
The Black Market: 198/1/0
Join Date: May 2010
Posts: 6,114
Received Thanks: 4,673
I tryed to upgrade 8 items. All 50% chance and only 1 got upgraded -.-'
Serraniel is offline  
Old   #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   #7
 
elite*gold: 0
Join Date: Jul 2010
Posts: 11
Received Thanks: 1
Can u tell me what´s UG?
ALVARO01 is offline  
Old   #8
 
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   #9
 
elite*gold: 0
Join Date: May 2010
Posts: 681
Received Thanks: 268
It's added to sticky Omg
popmircea95 is offline  
Old   #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   #11
 
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
busy having fun!

 
elite*gold: 56
The Black Market: 140/0/0
Join Date: Nov 2008
Posts: 12,141
Received Thanks: 5,406
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.
kinghauer is offline  
Old   #13
 
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   #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   #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



« Previous Thread | Next Thread »

Similar Threads
Darkorbit UPGRADE SYSTEM
Hallo Es gibt wieder ein neues Update: Deutsche DO FORUM: Hallo Spacepiloten, Seit unserer Offensive in die Piratensektoren haben wir...
32 Replies - DarkOrbit
Baruna Upgrade System verändern
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...
3 Replies - Flyff PServer - Discussions / Questions
how to change upgrade system??????
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
3 Replies - Metin2 PServer - Discussions / Questions
[Req]New upgrade system LOTF
I need help to add new upgrade system on global (minor major progres) for guide to add horse (LOTF)
3 Replies - CO2 PServer - Discussions / Questions



All times are GMT +2. The time now is 12:47.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.