• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Linux Help Fix Bug Store In-game

Mr Erimyth

Member
Joined
Apr 8, 2009
Messages
164
Reaction score
11
Location
Brazil
Players who are without CAP can buy an item, lose coins and do not receive the items in their Store Imbox

Please Anyone can help me?

Using Server 1.3
 
Solution


https://github.com/mattyx14/otxserver/tree/otxserv3/path_10_9

Eh, more in the SOURCE PASTE of github OTX, have UPDATE TO TFS 1.3? If you do not know, OTX is based on TFS
I should have a little more humility.

And yeah, have fix for bug...

https://gist.github.com/Eduardo-Dantas/1e1fc8b7bf7283b700eb848a43522933

Do not add more of 100 items. (example 1000 crystal coins)
Only deliver 100 and disappear the coin

And my question about being TFS or OTX, is that the TFS store is ONE and the OTX store is OTHER. (Script)
But of course, more prevails to diminish others than to try to solve the problem ...

And please, delete down comment. Sorry and thanks...

Script...
Players who are without CAP can buy an item, lose coins and do not receive the items in their Store Imbox

Please Anyone can help me?

Using Server 1.3

You need to add the code, so please read the rules before posting a thread.
But the problem is most likely that you have a cap check with adding items to the store inbox, im guessing you should be able to cap as much as posible there.
If not you need to add a cap check before the points are removed.

I got this bug (a friend in true), later I edit it here with the script neat)

Sorry bad English, I'm br!

Using OTX?

Using Server 1.3
 
In that case this should either be moved to requests or you should wait or wait till the issue is resolved.
This isen't a support matter IMO.
 


https://github.com/mattyx14/otxserver/tree/otxserv3/path_10_9

Eh, more in the SOURCE PASTE of github OTX, have UPDATE TO TFS 1.3? If you do not know, OTX is based on TFS
I should have a little more humility.

And yeah, have fix for bug...

https://gist.github.com/Eduardo-Dantas/1e1fc8b7bf7283b700eb848a43522933

Do not add more of 100 items. (example 1000 crystal coins)
Only deliver 100 and disappear the coin

And my question about being TFS or OTX, is that the TFS store is ONE and the OTX store is OTHER. (Script)
But of course, more prevails to diminish others than to try to solve the problem ...

And please, delete down comment. Sorry and thanks...

Script installation: data/modules/scripts/gamestore/init.lua
 
Last edited:
Solution
I'm happy to help (I fixed the bug yesterday, after much breaking my head along with a friend). = D


Oh, there's a little bug I could not fix. If you buy groupable items (example crystal coins), and if there is not enough cap (1 cap) the system will give you both crystal that cap der (23 crystal, of 100 for example) and will not take out the coins. (only for stackable items, simple items not bug, weapons, armos...)

If anyone can fix this, I'd be grateful.
 
Last edited:
Back
Top