dbjorkholm / FORGOTTENSERVER-ORTS

Try to make the perfect open real tibia server!
60 stars 76 forks source link

Problems with Rent Horses #79

Closed Tovar closed 10 years ago

Tovar commented 10 years ago

01:47 The time of your mount brown rented horse has ended, to get it again back to the NPC. 01:48 The time of your mount brown rented horse has ended, to get it again back to the NPC. 01:48 The time of your mount brown rented horse has ended, to get it again back to the NPC. 01:48 The time of your mount brown rented horse has ended, to get it again back to the NPC. 01:48 The time of your mount brown rented horse has ended, to get it again back to the NPC.

It don't stop show in server log after rent time end.

Jonas21 commented 10 years ago

you add correctly the globalevent? In me ot works fine but here Wibbenz edit the script.

Test this: http://pastebin.com/aAHWWxnt

Tovar commented 10 years ago

I did it with that and still the same error.

Tovar commented 10 years ago

This fix is for tutor.lua not for this issue hehe, but thanks you very much.

dbjorkholm commented 10 years ago

Made a typo (should have been 78 instead of 79) but it's not possible to correct references :<

I can't reproduce this issue (tested a few minutes ago)

WibbenZ commented 10 years ago

@Tovar Is it still a problem, just checked the script(Wrote it pretty late) and could not find any bugs, and also since Ninja could not reproduce it, you probbly have a faulty storage value.

Tovar commented 10 years ago

I will reset all storage values and check to see if the problem still.. Thanks, I'll post tomorrow to check.

att3 commented 10 years ago

Yeah, I am having this problem aswell.

Please update if the storage reset helps. Bit off-topic

Are you using the newest possible TFS? I am not, I cant use it since I cant look at walls players or pretty much anything, nothing just shows up :O / I am using the TFS which was released before 8~ 1. 2014

Tovar commented 10 years ago

I'm waiting for the time end in the horse rented, and about the "Look issue", it works for me, I don't know if this can help you. https://github.com/otland/forgottenserver/issues/336?source=cc

dbjorkholm commented 10 years ago

Decrease the rent time in palomino.lua?

e.g

setPlayerStorageValue(cid, stor, os.time() + days * 60)
Tovar commented 10 years ago

Worked, apparently something wrong with my storage value, I just deleted them all and this work.