Akselj Posted May 9, 2009 Author Share Posted May 9, 2009 Well, the bank and trade is both broken, and the fixes are simple so I thought I'd make a tutorial for both in one.First, the bank fix.Open up frmBank.frm in client. Go to properties, which should be on your right, and find picture. Click the "…" button and find the GUI for bank. The form window will now look something like this:![](http://www.freemmorpgmaker.com/files/imagehost/pics/69664d4350e9bc98fc78704e586fa4b0.jpg)Click and drag with your mouse over the "Deposit" and "Withdraw" (one by one!) buttons in the form, and resize them to fit. It will then look like this:![](http://www.freemmorpgmaker.com/files/imagehost/pics/1e360f8997245bebd03fdc5e51899f22.jpg)Compile the client and you're done!Trade fix:Open up frmTrade.frm, and then load the GUI for it, just like with the bank fix. Find the button that says "TRADE?" and double-click it. In the Sub there, add this code:``` Dim packet As String Dim i As Long packet = "swapitems" & SEP_CHAR For i = 1 To MAX_PLAYER_TRADES packet = packet & Trading(i).InvNum & SEP_CHAR Next i packet = packet & END_CHAR Call SendData(packet)```Compile the client, and you are done with this, too! Link to comment Share on other sites More sharing options...
Skillzalot Posted May 9, 2009 Share Posted May 9, 2009 Nice fix Aksel Link to comment Share on other sites More sharing options...
Guest Posted May 10, 2009 Share Posted May 10, 2009 sweet job dude :icon_alabanza: Link to comment Share on other sites More sharing options...
Akselj Posted May 10, 2009 Author Share Posted May 10, 2009 Thanks guys :) Link to comment Share on other sites More sharing options...
goku1993 Posted May 19, 2009 Share Posted May 19, 2009 the trade thing doesn t have a bug you know,yes the trade thing doesn t work but if you look at command 1 it has the code and it said to click it if you accept somthing.So there isn t really a trading bug Link to comment Share on other sites More sharing options...
Akselj Posted May 19, 2009 Author Share Posted May 19, 2009 I knew that… But the button that says trade doesn't trade and that IS an bug... The trade button is supposed to trade, and not the one that actually makes you trade. Link to comment Share on other sites More sharing options...
KrakaKrucifix Posted May 21, 2009 Share Posted May 21, 2009 What if you don't have a frmTrade.frm? :cry:Edit: Ignore me… frmPlayerTrade.frm XD Link to comment Share on other sites More sharing options...
Akselj Posted May 21, 2009 Author Share Posted May 21, 2009 Hmm… When I think about it it might be called frmPlayerTrade.frm. Link to comment Share on other sites More sharing options...
Kimimaru Posted June 13, 2009 Share Posted June 13, 2009 Hello. I tried your method of fixing the trading sequence, but it didn't work for me. I put this code in _**Private Sub Command2_Click()**_``` Dim packet As String Dim i As Long packet = "swapitems" & SEP_CHAR For i = 1 To MAX_PLAYER_TRADES packet = packet & Trading(i).InvNum & SEP_CHAR Next i packet = packet & END_CHAR Call SendData(packet)```I offered items and chose to trade, but it didn't do anything. I clicked everywhere on the trade screen, but no luck. Am I doing everything correctly? Link to comment Share on other sites More sharing options...
Akselj Posted June 13, 2009 Author Share Posted June 13, 2009 Yeah, you did everything correctly, so I don't know what's wrong. Worked for me. Link to comment Share on other sites More sharing options...
Kimimaru Posted June 13, 2009 Share Posted June 13, 2009 Okay. I'll try to take a deeper look into it later. Thanks for the fix, though! Link to comment Share on other sites More sharing options...
Akselj Posted June 13, 2009 Author Share Posted June 13, 2009 No probs :) Link to comment Share on other sites More sharing options...
Kimimaru Posted June 13, 2009 Share Posted June 13, 2009 I just decided to switch Command 1 with Command 2\. Thanks again! Link to comment Share on other sites More sharing options...
Diskmaster Posted June 14, 2009 Share Posted June 14, 2009 Downloaded the sources, but I don't have VB6. Link to comment Share on other sites More sharing options...
Kimimaru Posted June 15, 2009 Share Posted June 15, 2009 frmBank.frm can be found in the source files on the Client side. Try to get Visual Basic 6 Professional if you can. Download the source files from the main website, and please edit your post and tell me once you've done that. I'll make you the edited source with the bank and trade fix, but you must first download both the Client and Server source files. Link to comment Share on other sites More sharing options...
Diskmaster Posted June 15, 2009 Share Posted June 15, 2009 I have dun that, I downloaded the sources, could u send it to me now… Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 15, 2009 Share Posted June 15, 2009 @Diskmaster:> I have dun that, I downloaded the sources, could u send it to me now…If you mean VB6, the only legal way to acquire the software, is to buy it second hand. Link to comment Share on other sites More sharing options...
Sowtis Posted June 17, 2009 Share Posted June 17, 2009 @KrakaKrucifix:> What if you don't have a frmTrade.frm? :cry:> > Edit: Ignore me… frmPlayerTrade.frm XDYeah its frmPlayerTrade.frmI had to look for it too :P Link to comment Share on other sites More sharing options...
poke1103 Posted June 29, 2009 Share Posted June 29, 2009 What's even wrong with it? I can't tell. Link to comment Share on other sites More sharing options...
Kimimaru Posted June 30, 2009 Share Posted June 30, 2009 The Withdraw and Deposit button sizes are extremely small, thus making it very hard to actually deposit or withdraw anything from the bank. In this tutorial, AkselJ basically tells you how to make the button sizes bigger. As for the trade, the button that says "TRADE?" does not work. Instead, you must click on the button that says something like, "Click here to trade for: …" For that, though, you can just simply switch the labels and it will be fixed. Link to comment Share on other sites More sharing options...
Olimar72 Posted August 30, 2009 Share Posted August 30, 2009 When I open up frmbank.frm it says something like "Windows doesn't know how to open this file"and makes me choose either "Select from a list of programs" or "Find a program online". What program do I need for this? :sad: Link to comment Share on other sites More sharing options...
Harris6310 Posted August 30, 2009 Share Posted August 30, 2009 Visual Basic 6.0.Nuff said. Link to comment Share on other sites More sharing options...
Olimar72 Posted August 30, 2009 Share Posted August 30, 2009 @Harris:> Visual Basic 6.0.> > Nuff said.From what I've seen, it looks like I have to buy it. :icon_crap: Anywhere I can get it for free or some other free program that would work with this tutorial? Link to comment Share on other sites More sharing options...
Valon328 Posted August 30, 2009 Share Posted August 30, 2009 @Olimar72:> From what I've seen, it looks like I have to buy it. :icon_crap: Anywhere I can get it for free or some other free program that would work with this tutorial?torents xD Link to comment Share on other sites More sharing options...
Olimar72 Posted August 31, 2009 Share Posted August 31, 2009 @[Šß:> 超人 Ã…Â hÃdÓw ñÃÂñjä ¤VÃ¥löñ¤ ã‚· link=topic=44128.msg535601#msg535601 date=1251676651]> torents xDIf you could post a link, that would be SO handy. I can't seem to find one… :sad: 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