Register for your free account! | Forgot your password?

You last visited: Today at 06:57

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

Advertisement



Real time gold updating

Discussion on Real time gold updating within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old 10/02/2015, 14:29   #16

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,661
Well i thought i did...
No. Nothing is static, its all random every tp
sarkoplata is offline  
Old 10/02/2015, 14:46   #17
 
elite*gold: 0
Join Date: Nov 2007
Posts: 959
Received Thanks: 602
imo,the only solution would be to call the functions that update gold and probably there's one for getting the current value,too,but dunno,didn't really look into it tbh
vorosmihaly is offline  
Old 10/06/2015, 12:48   #18
 
GoneUp's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 201
Received Thanks: 73
Is this value shared between shard and gameserver? If yes, create a proxy and inject a matching packet.
GoneUp is offline  
Old 10/06/2015, 20:38   #19

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,661
Quote:
Originally Posted by GoneUp View Post
Is this value shared between shard and gameserver? If yes, create a proxy and inject a matching packet.
Very good idea, even though I think shard has nothing to do with it, ill check shard's memory

Edit: As I said that was a nice idea but shard has nothing to do with the gold amount. I was actually excited for a while.
sarkoplata is offline  
Thanks
1 User
Old 12/17/2019, 06:53   #20

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,661
After quite some time, (like 4 years), I just wish I started messing with asm/cpp earlier. This wasn't 'rocket science' at all, even for me...

Code:
void CGObjPC::UpdateGold(long long GoldAmountChange, int a1, int a2, int a3)
function located at CGObjPC's vftable's 0x016C.

one of the args are for reducing/increasing the gold, one is about the client message, to show that "[%d] gold gained" message. not sure about the other one.

There are some really nice functions around there too, the next 2 functions in the vftable are exp/sp update functions.

always thanks to: @ , @
sarkoplata is offline  
Thanks
3 Users
Reply


Similar Threads Similar Threads
Kbot again updating!whats new this time ??
05/31/2012 - DarkOrbit - 20 Replies
whats new this time i dont know but im bored with this updates:mad::mad::mad:
[WTS] Star Wars the old republic cdkey & Game time card for wow gold or real money ^^
04/14/2012 - World of Warcraft Trading - 15 Replies
the best price for Star Wars the old republic !! 80k wow gold for star wars cdkey or 25 eur for star wars cdkey you can enjoy the game early ! Just accept the real money from moneybooker
L2walker OOG and Real client at same time?
08/09/2010 - Lineage 2 - 1 Replies
How does that work? 2x oog and real client at same time? any increase in getting detected? or someting similar, or it dosent matter as long as you start them in right order or? its not to play with 1 live and 2 bots behind, its for the 2 bots to do their job and the realclient for trading in town meanwhile Thanks
Boss map in real time
06/14/2008 - EO Exploits, Hacks, Tools & Macros - 1 Replies
Idea for a programer! In EO when you make team there are doots on map whit your teammates and leader! OK, hard part! Can someone do a script/hack/... that show u the bosses in real time?(like EO is showing u teammates); Sorry for the post! Sorry if this post does not have meaninig!



All times are GMT +1. The time now is 06:59.


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.