Loading...
  OR  Zero-K Name:    Password:   

bug with resource sharing system

9 posts, 1712 views
Post comment
Filter:    Player:  
sort
Don't know if this is already known, but you can actually steal metal and energy from your allies, by writing a small widget like this [ -- ] one within which you just give the Spring.ShareResources function a negative transfer value. The funny thing is you can even steal more Metal than your ally have in storage. I really hope this bug can be fixed soon, because it's easy to exploit.
+0 / -0
11 years ago
Confirmed works. Reported on mantis.
+0 / -0

11 years ago
I have a feeling that everyone who reads the forums will mysteriously have lots of metal and energy ingame.
+0 / -0
11 years ago
If you go overboard with this in a game the replay of it will look completely different from what was played. But even if you ensure that Spring.ShareResources gets a positive transfer value, I'll get the feeling that you sometimes also run in problems, if you use this function every 0.1 sec for example. Sadly I don't have a real prove for it yet.
And by the way the output from

local ,eMax,_,_,_,_,_, = Spring.GetTeamResources(allyID, "energy")
Spring.Echo(eMax)

is 10500 when it should be just 500 and 11000 when it should be just 1000 and so on (or is there a purpose for it?). Someone should report this too, I have no clue how to do it and I am too lazy to figure it out.
+0 / -0


11 years ago
The energy maximum is +10000 the listed value due to the OD buffer used in the gadget. Intended behavior, pretty much :)
+0 / -0
11 years ago
http://springrts.com/mantis/view.php?id=3296
Reported on Mantis, registered as resolved by Kloot.

Thanks for the report btw.
+0 / -0
11 years ago
You shouldnt write widget to just demonstrate bug, at least dont share it in forums, because now every nab can cheat. Best is just to notify devs, now everyone will be like omg you cheat and so on. I bet something like 10-20% nobody even notice.
+0 / -0
11 years ago
Ok I've deleted the link in my first post. Thought it would be so obvious that no one will consider using it. Won't do this again next time. But is there a list of devs so I know who to contact. Some I already know but most of them aren't online when I am. Or can a nobody like me register and report bugs on mantis too?
+0 / -0
[AG]abma
anybody can register at mantis and report bugs... (if not, thats a bug in mantis then ;-)

thanks for reporting this!

engine-authors can be found here: http://springrts.com/wiki/Authors#Active
+0 / -0