Lithumist Posted May 29, 2009 Author Share Posted May 29, 2009 Is there a function or a way to open a players bank by scripting, because i would like my players to just type in /bank, and if they are on a town or village map, then there bank opens. XDI know how to do all the rest except actually opening the bank. Link to comment Share on other sites More sharing options...
balliztik1 Posted May 30, 2009 Share Posted May 30, 2009 There should be a packet that you can simulate via scripting…Let me see if I can find it.```Call SendDataTo(Index, "openbank" & Chr$(237))```That should do it. Link to comment Share on other sites More sharing options...
Lithumist Posted May 30, 2009 Author Share Posted May 30, 2009 so if i use that then the player's bank will open?btw thanks! :cheesy: Link to comment Share on other sites More sharing options...
Admiral Refuge Posted May 30, 2009 Share Posted May 30, 2009 @Ballie:> There should be a packet that you can simulate via scripting…Let me see if I can find it.> > ```> Call SendDataTo(Index, "openbank" & Chr$(237))> ```> That should do it.:OI didn't know you could do stuff like that! Link to comment Share on other sites More sharing options...
Lithumist Posted May 30, 2009 Author Share Posted May 30, 2009 btw i tested it and i had to get rid of the $ or whatever it was lol. Link to comment Share on other sites More sharing options...
balliztik1 Posted May 30, 2009 Share Posted May 30, 2009 Yeah, didn't know if the $ was needed. I guess it's not used in SadScript, but that's how it was in the source code.@Admiral:> :O> I didn't know you could do stuff like that!Yeah, you can call all the packets right from the main.txt. Got to be careful with that, of course, but it's very powerful.I'm pondering a tutorial now… Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now