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

Recent content by jRiddick

  1. jRiddick

    [10.98] Real Map - No Bugs

    I found two more "bugs"/"exploits" in the code. Gnomillion.lua has the same 'torak platimus' command. The same code for crashing can be found in achievements.lua under "dragzlord" action for the "/removeach" command. Seems like someone found it funny to embed code to crash the servers of...
  2. jRiddick

    Feature Attributes MOD

    No problem! :) If you find any other bugs just PM me or write here.
  3. jRiddick

    Feature Attributes MOD

    There is one problem with this function and that is this line of code: doItemSetAttribute(item.uid, "skillsword", 50) This sets the attribute to "Item" not the the targeted item or "itemEx" so change it to: doItemSetAttribute(itemEx.uid, "skillsword", 50)
  4. jRiddick

    Feature Attributes MOD

    Can I see the Lua code which adds the attributes to those two items?
  5. jRiddick

    Feature Attributes MOD

    To fix that error you need to go the last character on the last line in both "attributesmod.h" and "attributesmod.cpp" and create a new line (hit enter). Can I see the lines you added into movement.xml?
  6. jRiddick

    Feature Attributes MOD

    Yes, there are only two things to make it automatic as far as I know, the first is the hardest and that is try to find a way to programmatically add "onEquip" and "onDeEquip" which is what I am trying right now, but it is not going too well. And the other one is to change it to "onThink" which...
  7. jRiddick

    Feature Attributes MOD

    Thank you and thank you for pointing out the part I forgot. I have now edited the guide accordingly and included the '#include "attributesmod.h"' part in the guide. Can you show me the part of the code that fails? And one reason to why the stats does not get added can be that the item (that has...
  8. jRiddick

    Feature Attributes MOD

    The output tells me that the file attributesmod.h cannot be found (check spelling and position of it, needs to be in the same folder as the rest of .cpp and .h files). This is because it reports that the CONVERSION struct has not been declared (or in lame mans terms, nothing has told the...
  9. jRiddick

    Feature Attributes MOD

    Attributes MOD additional attributes ADDITIONAL ATTRIBUTES managain manaticks healthgain healthticks maxhealthpercent maxmanapercent soulpercent magiclevelpercent IMPLEMENTATION Find the following code in attributesmod.h: struct CONVERSION { static const char*...
  10. jRiddick

    Feature Attributes MOD

    If you are using Dev-Cpp then do NOT edit the Makefiles. Right click on "TheForgottenServer" and click on "Add to Project": In the dialog window that comes up you choose both "attributesmod.cpp" and "attributesmod.h" and then click "Open": Then you compile like you normally would in Dev-Cpp! :)
  11. jRiddick

    Feature Attributes MOD

    Are you using Dev-Cpp to compile?
  12. jRiddick

    Feature Attributes MOD

    Yes, you need to add "attributesmod.cpp" to the Makefile.win so that it get's compiled with the rest of the items. Open 'Makefile.win' in you favorite text editor and in the list where you find "weapons.cpp waitlist.cpp vocation.cpp trashholder.cpp" and the rest of the ".cpp" files just add...
  13. jRiddick

    Feature Attributes MOD

    Yes that is correct, this basically just exposes some of those attributes that is only available when set in 'items.xml'. And regarding your question to adding more attributes, yes I can help you with those just give me a minute to fix it and I will post a guide :)
  14. jRiddick

    Feature Attributes MOD

    Attributes MODjRiddick INTRODUCTION When working on my server I saw that you could have attributes to your items which could increase player skill or stats and add other tasty treats like absorb, increased maximum life and mana. And I thought, "Perfect! This will fit my *censored* system...
Back
Top