Page 1 of 1

Char wont mount...

Posted: Tue Nov 23, 2010 5:44 am
by botje
I have a permanent mount, but my char doesnt mount it O.o

i know it has to be in normal bag, it just wont work...

any ideas?

and a suggestion, cant you make it so it is usable from within itemshop bag?

Botje

Re: Char wont mount...

Posted: Tue Nov 23, 2010 6:35 am
by jduartedj
botje wrote:I have a permanent mount, but my char doesnt mount it O.o

i know it has to be in normal bag, it just wont work...

any ideas?

and a suggestion, cant you make it so it is usable from within itemshop bag?

Botje
Use it manually! I know it isn't a true solution but when all else fails stick to the basics!

Code: Select all

		if player:hasBuff("mount's buff") == false then
			inventory:useItem("mount's name");
		end;
EDIT: usually "mount's name" and "mount's buff" are the same, but check anyway!

EDIT2 (Attachment): try the attached file :D

Re: Char wont mount...

Posted: Tue Nov 23, 2010 7:12 am
by botje
Thanx, ill be trying that ^^

Botje

Re: Char wont mount...

Posted: Tue Nov 23, 2010 7:25 am
by jduartedj
oh yeah and:

Code: Select all

Usage: CheckAndMount(mounts_name);

Re: Char wont mount...

Posted: Tue Nov 23, 2010 7:58 am
by AZV
Is it a special mount [short promotion or lately added]? Cuz there ain't all IDs added to the player:mount() function.
Just look the ID up and add it in classes\inventory.lua to function CInventory:getMount().

Re: Char wont mount...

Posted: Tue Nov 23, 2010 8:34 am
by jduartedj
AZV wrote:Is it a special mount [short promotion or lately added]? Cuz there ain't all IDs added to the player:mount() function.
Just look the ID up and add it in classes\inventory.lua to function CInventory:getMount().

That is probably a better option Because I've had some issues with that script O.O! sorry!

An couldn't debug it! Don't know whats wrong honestly :S

Re: Char wont mount...

Posted: Tue Nov 23, 2010 8:39 am
by botje
its the blue one, star.

i think its been there since a while, so O.o

ill check anyway

Botje

Re: Char wont mount...

Posted: Tue Nov 23, 2010 11:08 am
by AZV
Ok, thats ID 206710 and it isnt there in mine ... ;)

Re: Char wont mount...

Posted: Tue Nov 23, 2010 8:20 pm
by Alkaiser
Does the bot move with a mount properly? Every time a try it, the bot gets stuck in a repeating left-right-left-right motion trying to line up the camera behind the character and failing to do so.

Re: Char wont mount...

Posted: Tue Nov 23, 2010 9:58 pm
by rock5
Alkaiser wrote:Does the bot move with a mount properly? Every time a try it, the bot gets stuck in a repeating left-right-left-right motion trying to line up the camera behind the character and failing to do so.
There used to be problems using mount quite a few revisions ago. It wouldn't run properly. I fixed that in revision 464. I'm not sure why you are having problems.

Re: Char wont mount...

Posted: Wed Nov 24, 2010 1:04 am
by Alkaiser
rock5 wrote:There used to be problems using mount quite a few revisions ago. It wouldn't run properly. I fixed that in revision 464. I'm not sure why you are having problems.
Hmm, well I just tried it again to be sure and it isn't working for me. Is there anything in the character profile that needs to be set a certain way? QUICK_TURN comes to mind.

Re: Char wont mount...

Posted: Wed Nov 24, 2010 7:50 am
by rock5
Alkaiser wrote:Is there anything in the character profile that needs to be set a certain way? QUICK_TURN comes to mind.
Actually I can't remember if I've ever tried being mounted while quick turn is off. I just tried it though. Besides looking ridiculous the way it stops to turn, it worked fine.

A quick way to see if it's your profile is to try the default profile. If it works then it's your profile. If it still doesn't work, there's probably something wrong with your copy of rombot. Try right-clicking the rom folder and selecting 'TortoiseSVN/Revert'.

Re: Char wont mount...

Posted: Fri Nov 26, 2010 3:21 am
by botje
Rock5, could you please add the ID of the mount i have to the SVN?

im sure more will use it, and this way we dont have to edit it ourselfs ^^

ID is : 206710

Botje

Re: Char wont mount...

Posted: Fri Nov 26, 2010 4:42 am
by rock5
botje wrote:Rock5, could you please add the ID of the mount i have to the SVN?

im sure more will use it, and this way we dont have to edit it ourselfs ^^

ID is : 206710

Botje
To tell you the truth I don't usually update the databases. Administrator usually does that. Anyway I'm sure there are probably dozens of mounts added to the game since that function was last updated. I'm not sure of the most efficient way to find them all.

Actually they seem to be added in ranges now. It would be good if you could add the mounts in ranges instead of just 1 at a time. Maybe the code needs to be changed. It would make the mounts database a lot smaller.
eg. these 3 lines replace 48 individual mounts

Code: Select all

mounts = {
{start = 202226, end = 202232},
{start = 202245, end = 202248},
{start = 202450, end = 202286},
etc..

Re: Char wont mount...

Posted: Fri Nov 26, 2010 5:15 am
by botje
ok, i see...

we will have to wait for admin then, and what about the part about looking in the itemshop bag?

i always keep it there, so it wont be deleted by mistake etc...

Botje

Re: Char wont mount...

Posted: Fri Nov 26, 2010 7:22 am
by rock5
I was thinking about adding the transmutor and itemshop bag to the inventory awhile ago. I guess it's still on my todo list. I'll get around to it I think.

Re: Char wont mount...

Posted: Fri Nov 26, 2010 7:31 am
by botje
great ^^

cant wait, you guys really work magic with this stuff :)

Botje