Forum

> > CS2D > Scripts > Bugs in new Tibia RPG server...
Forums overviewCS2D overview Scripts overviewLog in to reply

English Bugs in new Tibia RPG server...

3 replies
To the start Previous 1 Next To the start

old Bugs in new Tibia RPG server...

olie18
User Off Offline

Quote
I had everything working perfect through my own PC and i started getting bugs once i uploaded to a new server. I've re uploaded about 5 times now and i'm pretty sure i've got all the files uploaded, it must be automatically changing something or missing something right?

First bug : You can switch back and forth between crossbow and knife.

Second bug : Health is restored to 100 every time you equip something.

Third bug : speedmod from equipment doesn't work once you go above the normal speed, however manual speedmod works above 0 and the display i've made showing player speed increases past 0...

To make it clear all of these only happen after upload. I would appreciate any help this has got me really stumped, i tried contacting the server to see if they had encountered this sort of thing before but they told me to ask someone with lua scripting knowledge.

Thanks again.

old Re: Bugs in new Tibia RPG server...

Yates
Reviewer Off Offline

Quote
Lol. Nice accounts.

Anyway, the fix to the multiple weapons is to edit where you equip a new item. If you equip an item that uses a machete and equip another that also uses a machete you will be bugged and also have a knife. So, add a timer to strip the knife after every equip.

Second bug, add this;
1
PLAYERS[id].HP = player(id,"health")
To the function where you equip a weapon.

Third; add this;
1
parse("speedmod "..id.." "..PLYAERS[id].tmp.spd)
To the function where you equip a weapon.

The function should be found in the functions.lua file.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview