• 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!

CreatureEvent [TFS 1.1] Random Item Stats

Im currently trying it on a fresh copy of TFS 1.1 done in 2 minutes, Ill post results

##Exactly the same issue with TFS1.1, lootless monsters. You must have posted either incorrect information or code. Cause I have added what you wrote 5 times now and it still doesn't work
 
Im currently trying it on a fresh copy of TFS 1.1 done in 2 minutes, Ill post results

##Exactly the same issue with TFS1.1, lootless monsters. You must have posted either incorrect information or code. Cause I have added what you wrote 5 times now and it still doesn't work

Realised I'm missing Container.cpp/h edits in the post...
Will have to wait, sorry.
 
@Kungenn - Couldn't tell you really.. I just imported it and it worked as intended. The only errors being the ones stated in the post previously, for example: bows dont actually get extra attack or range. So Bow weapons are pointless to be in the script.
 
@Kungenn - Couldn't tell you really.. I just imported it and it worked as intended. The only errors being the ones stated in the post previously, for example: bows dont actually get extra attack or range. So Bow weapons are pointless to be in the script.
Are you talking about Leo32's edits or the thread starter mod?
 
Works on 1.2? Because i'm using this, I kill some monsters and nothing happens
 
[FIX]Loot from players red skull

27xhuex.jpg
[/IMG]
27xhuex.jpg
 
This is super-dope. Zero errors.

Thank you Cykotitan and zbizu. I'm using this on the server my family is playing together. Thanks for posting the script.
 
The scripts works, items get's stats.

But the console spits our errors =/


Code:
Lua Script Error: [Main Interface]
in a timer event called from:
(Unknown scriptfile)
data/creaturescripts/scripts/custom/randomstats.lua:138: attempt to index local 'it_u' (a nil value)
stack traceback:
        [C]: in function '__index'
        data/creaturescripts/scripts/custom/randomstats.lua:138: in function 'assign_loot_Stat'
        data/creaturescripts/scripts/custom/randomstats.lua:252: in function <data/creaturescripts/scripts/custom/randomstats.lua:247>
 
Back
Top