Discussion in 'Programming & Scripting' started by Evil Hero, Mar 23, 2010.
How do you allow characters to dualwield?
dual need to be exist in the source
u can find it in 0.4 and OTX
and i think the attribute is
<attribute key="dual" value="1"/>
<attribute key="dualwield" value="1"
try each of them xD
This Part Is Too Hard Dude
What dont you understand?
Wikipedia explains it nicely: https://en.wikipedia.org/wiki/For_loop#Lua
Thanks for this contribution, May you continue please with others parts? .
He's not continuing this thread anymore.
;( bad luck.
I would love to re write my entire guide, the problem however is, beeing limited to 10k characters each post is quite a hindrance.
I cannot even edit 2 of the posts because they give me the "exceeding post length error"
You could try using a "paste" site or making it a pdf, I would love to read it since I'm getting into ots back and there's a lot to learn
Got things solved out, mark enhanced text length to 25k, expect this guide to be re written once I have it completly sorted out
Great to hear you will be doin a re-work! Keep the good work up Heroland forever in my dreams btw^^
When will this be rewritten?
Still remember when I read this for the first time, my introduction to this world. Awesome guide.
I still use the function list in post #2, because it contains like 95% of the functions I use, and saves me the effort of looking through my source files for the simple lua functions. haha
I hope they aren't over-written with newer 1.2 stuff.
For 0.3.6: https://github.com/peonso/forgottenserver036pl1/blob/master/src/luascript.cpp
For 1.2: https://github.com/otland/forgottenserver/blob/master/src/luascript.cpp