displayjokes 89 Posted September 18, 2018 Share Posted September 18, 2018 Hi! So i was messing with nirvana files and i got stuck on a bug where i've added a quest to only GMs to pick a mount, whenever i pick a mount it is supost to do "pc.mount()" and yey i'm riding the mount. I have tested it on other server files, it works. I'm now having problems with the pc.mount() functions that is not working/is diabled.. ( i've looked to the source over a day and i'm stuck at this point ) I had the same problem with the horse, i couldn't even call it, even when it was a success call, and i fixed it on the source. But i can't find where it can be bugged the pc.mount function. Any help is much appreciated. Thank you It's all lies Link to comment Share on other sites More sharing options...
Premium WeedHex 636 Posted September 18, 2018 Premium Share Posted September 18, 2018 Show the function lol Link to comment Share on other sites More sharing options...
displayjokes 89 Posted September 18, 2018 Author Share Posted September 18, 2018 2 minutes ago, WeedHex said: Show the function lol This is the part of the function to use the mounts: elseif menu_choice == 4 then say_title("Mount?") local mount_choice = select("WhiteLion", "Black Lion") if mount_choice == 1 then pc.mount( 20114, 600 ) elseif mount_choice == 2 then pc.mount( 20115, 600 ) else return end else return end It's all lies Link to comment Share on other sites More sharing options...
displayjokes 89 Posted September 18, 2018 Author Share Posted September 18, 2018 40 minutes ago, displayjokes said: This is the part of the function to use the mounts: elseif menu_choice == 4 then say_title("Mount?") local mount_choice = select("WhiteLion", "Black Lion") if mount_choice == 1 then pc.mount( 20114, 600 ) elseif mount_choice == 2 then pc.mount( 20115, 600 ) else return end else return end Solved, found the file on questlua_pc > on this function: int pc_mount(lua_State* L) Now have another problem, when press ctrl+g it wont let me out of the mount, anyone knows this fix? :\ It's all lies Link to comment Share on other sites More sharing options...
Contributor MrQuin 6463 Posted September 18, 2018 Contributor Share Posted September 18, 2018 26 minutes ago, displayjokes said: Solved, found the file on questlua_pc > on this function: int pc_mount(lua_State* L) Now have another problem, when press ctrl+g it wont let me out of the mount, anyone knows this fix? :\ After : def __PressFKey(self): make sure there is this def: def __PressGKey(self): if app.IsPressed(app.DIK_LCONTROL) or app.IsPressed(app.DIK_RCONTROL): net.SendChatPacket("/ride") else: if self.ShowNameFlag: self.interface.ToggleGuildWindow() else: app.PitchCamera(app.CAMERA_TO_POSITIVE) If yes check your cmd_general.cpp for do_ride My only accounts are here and on M2D, Don't trust anyone else from other shitty sites. Link to comment Share on other sites More sharing options...
Premium WeedHex 636 Posted September 18, 2018 Premium Share Posted September 18, 2018 Bad idea. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now