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

[CLOSE] Close Please im moving this threat to c++ since it requires source edit >:P

MarkSmartRemark

Lua-Noob in Training :D
Joined
Jan 27, 2010
Messages
139
Reaction score
3
Hi, i wanted to know if theres a way you can have players hold the same speed throughout the whole game =) so a level 8 runs as fast as a level 928374987239487234 =]

i want this so when theres wars on my server there isnt some group of nubs running in, UEing then clicking minimap to blast out... lol

hopefully i dont need source editing for this :x and if i do let me know so i post the request in the correct section =)
 
Last edited:
:o i have no gain speed in my vocations.xml... and wheres samples?

PHP:
<vocation id="1" name="Horde Mage" description="a Horde Mage" needpremium="0" gaincap="30" gainhp="5" gainmana="50" gainhpticks="6" gainhpamount="50" gainmanaticks="2" gainmanaamount="100" manamultiplier="1.1" attackspeed="800" soulmax="100" gainsoulticks="120" fromvoc="1">
		<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.5" magDamage="1.5" magHealingDamage="0.75" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="2.0"/>
		<skill id="2" multiplier="2.0"/>
		<skill id="3" multiplier="2.0"/>
		<skill id="4" multiplier="2.0"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>

theres 1 example of my vocations.xml :p and i searched for sample but cant find it lol
 
hmm, maybe gainspeed is in confug.lua? and samples are in database(if you use gesior aac, if you use tfs build in acc maker it need source edit)

EDIT: its probably hardcoded, I cannot find thegainspeed thing...
 
ehh thanks anyways =] repped you... ill try going in the c++ section to see if i get any help in there grr such a simple thing needs source editing >.>
 
I've never used any of these lua functions but you could try using doChangeSpeed(cid, delta) and getCreatureSpeed(cid) ? Calculate the difference between their speed and the desired speed on login and advance, then add or substract the difference and change it using doChangeSpeed?
 
Back
Top