JayT Posted July 28, 2009 Author Share Posted July 28, 2009 whats the correct 'call' to get the bank screen to come up? instead of stepping on the bank tile i want it on a onclick tile :P Link to comment Share on other sites More sharing options...
Alster Posted July 28, 2009 Share Posted July 28, 2009 Refer to the scripting command list: http://www.touchofdeathforums.com/smf/index.php/topic,28153.0.html Link to comment Share on other sites More sharing options...
JayT Posted July 28, 2009 Author Share Posted July 28, 2009 i have done and its not there lol. the command in vb is Call BankItems but dont seem to work in sadscript:P Link to comment Share on other sites More sharing options...
Alster Posted July 28, 2009 Share Posted July 28, 2009 @JayT:> i have done and its not there lol. the command in vb is Call BankItems but dont seem to work in sadscript:PThis would need a source editā¦ Unless there's a script in the database I'm missing. Link to comment Share on other sites More sharing options...
emblem Posted July 28, 2009 Share Posted July 28, 2009 It's not scriptable, you would have to source it. Link to comment Share on other sites More sharing options...
JayT Posted July 28, 2009 Author Share Posted July 28, 2009 ok i have vb6 what do i edit in the source then if i want it as a OnClick Link to comment Share on other sites More sharing options...
JayT Posted July 28, 2009 Author Share Posted July 28, 2009 can any1 give me the code to open the bank screen in vb not sadscript plz Link to comment Share on other sites More sharing options...
kris_hole Posted July 28, 2009 Share Posted July 28, 2009 hayt add me on msn, i'll help out :P[email protected] Link to comment Share on other sites More sharing options...
JayT Posted July 28, 2009 Author Share Posted July 28, 2009 i have this:```Private Sub Command3_Click()Call BankItemsEnd Sub```but when i click the button it gives this error:Sub or Function not defined Link to comment Share on other sites More sharing options...
Admiral Refuge Posted July 28, 2009 Share Posted July 28, 2009 **WAIT!**You can open a bank via sadscript, just send a packet in sadscript to the server, to open the bank; use this sadscript command:```Call SendDataTo(Index, "openbank" & Chr(237))```@Umbra!:> It's not scriptable, you would have to source it.DON'T underestimate SadScript :< Link to comment Share on other sites More sharing options...
emblem Posted July 28, 2009 Share Posted July 28, 2009 I tried that on my game and it didn't work.I knew about that all along, I just didn't suggest it because of personal experience.(lmao, using senddata you could make a pet script, that's how powerful it is if you know how to use it ;D) Link to comment Share on other sites More sharing options...
Admiral Refuge Posted July 28, 2009 Share Posted July 28, 2009 @Umbra!:> I tried that on my game and it didn't work.> > I knew about that all along, I just didn't suggest it because of personal experience.> > (lmao, using senddata you could make a pet script, that's how powerful it is if you know how to use it ;D)I heard that using SendData can lead to unstableness if you don't know what you're doing; I usually don't use it myself, but it should be fine for just opening a bank.I just tried it in EE2.8, as a HotScript; it does open the bank for me:```Sub HotScript(Index, KeyID) Select Case KeyID ' Executes when any player presses the PageUp key. Case 1 Call SendDataTo(Index, "openbank" & Chr(237))``` Link to comment Share on other sites More sharing options...
emblem Posted July 28, 2009 Share Posted July 28, 2009 Yeah, but this was waaay back when TE was the newest version so I probably messed it up.Cool, learned something kinda new. Link to comment Share on other sites More sharing options...
kris_hole Posted July 28, 2009 Share Posted July 28, 2009 anyway he sorted it now, i told him a way over msn :) basically copy-ing n pasting the bank sb onto a command btton :P Link to comment Share on other sites More sharing options...
JayT Posted July 29, 2009 Author Share Posted July 29, 2009 yer that sorted it thanks to krisĀ :azn: i knew i wouldnt take admiral long to reply wen he came online lol 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