Wortel Angels Posted March 20, 2012 Share Posted March 20, 2012 I ve pushed it all to the top… but it show me only the first 3 Icons... Why?EDIT---I see there is only the Face frame, name and stats i got nothing other... Link to comment Share on other sites More sharing options...
Justn Posted March 20, 2012 Author Share Posted March 20, 2012 Make sure you did this part in mod constants:``` ' Character constsPublic Const EqTop As Long = 164Public Const EqLeft As Long = 43Public Const EqOffsetX As Long = 3Public Const EqOffsetY As Long = 4Public Const EqColumns As Long = 3```And make sure you did this : Find in Sub BltEquipment():```With rec_pos        .top = EqTop        .Bottom = .top + PIC_Y        .Left = EqLeft + ((EqOffsetX + 32) * (((i - 1) Mod EqColumns)))        .Right = .Left + PIC_X      End With```change to:```With rec_pos        .top = EqTop + ((EqOffsetY + 32) * ((i - 1) \ EqColumns))        .Bottom = .top + PIC_Y        .Left = EqLeft + ((EqOffsetX + 32) * (((i - 1) Mod EqColumns)))        .Right = .Left + PIC_X      End With```And in frmMain Find Private Function IsEqItem:```.Top = EqTop```change to:```.Top = EqTop + ((EqOffsetY + 32) * ((i - 1) \ EqColumns))```Here is a new char window if anyone needs it:>! ![](http://www.freemmorpgmaker.com/files/imagehost/pics/7a4fdd9913ac5a4701cd2a5d6ef5139b.JPG)>! ![](http://www.freemmorpgmaker.com/files/imagehost/pics/e65ed629fefba0668917d994b0a34a6e.JPG)**updated OP with downloads for the pictures Link to comment Share on other sites More sharing options...
Wortel Angels Posted March 20, 2012 Share Posted March 20, 2012 hmmm…The Icon is one row too high...[![](http://www7.pic-upload.de/thumb/21.03.12/7atg2kepev6e.png)](http://www.pic-upload.de/view-13427831/Unbenannt.png.html) Link to comment Share on other sites More sharing options...
Justn Posted March 20, 2012 Author Share Posted March 20, 2012 ~~in the client?~~I dont think it is you should delete your item dat files or go to your item editor and make sure the axe is still set as a weapon cause it can change when you edit your cmbtype list.If that doesnt help make sure you set this to the right order in the server:``` ' Equipment used by PlayersPublic Enum Equipment  Enchant = 1  Helmet  Ring  Weapon  Armor  Shield  Glove  Legs  Boots  ' Make sure Equipment_Count is below everything else  Equipment_CountEnd Enum``` Link to comment Share on other sites More sharing options...
Wortel Angels Posted March 20, 2012 Share Posted March 20, 2012 ~~Sorry i edited it :D Take a look one post over your…The weapon is on the enchant slot :(~~Yes its all so and i deleted it…but its still one row to high Link to comment Share on other sites More sharing options...
Justn Posted March 20, 2012 Author Share Posted March 20, 2012 lol its not telling when u edit so im always a post late see above ^ Link to comment Share on other sites More sharing options...
Wortel Angels Posted March 20, 2012 Share Posted March 20, 2012 Hm the info shows me at the right point but the item icon is 1 row to high…its all like your tut Link to comment Share on other sites More sharing options...
Justn Posted March 21, 2012 Author Share Posted March 21, 2012 Ok I see what you did wrong..First you added this to picspells_mouseup:``` With rec_pos        .top = EqTop + ((EqOffsetY + 32) * ((i - 1) \ EqColumns))        .Bottom = .top + PIC_Y        .Left = EqLeft + ((EqOffsetX + 32) * (((i - 1) Mod EqColumns)))        .Right = .Left + PIC_X      End With```I changed it back to this:```' drag + drop    For i = 1 To MAX_PLAYER_SPELLS      With rec_pos        .top = SpellTop + ((SpellOffsetY + 32) * ((i - 1) \ SpellColumns))        .Bottom = .top + PIC_Y        .Left = SpellLeft + ((SpellOffsetX + 32) * (((i - 1) Mod SpellColumns)))        .Right = .Left + PIC_X      End With```And you didn't add this to the right spot cause you added it to picspells:modDirectDraw7 in **Sub bltEquipment**find: .top = EqTopchange to```.top = EqTop + ((EqOffsetY + 32) * ((i - 1) \ EqColumns))```<*Fixed and sent to u*> Link to comment Share on other sites More sharing options...
Wortel Angels Posted March 21, 2012 Share Posted March 21, 2012 Thanks :D If anyone have trouble with this ask Justn hes the best *.* haha Link to comment Share on other sites More sharing options...
or3o Posted March 31, 2012 Share Posted March 31, 2012 When i try to run it in debug mode i get this? what am i doing wrong? Any help would be much appreciated. Link to comment Share on other sites More sharing options...
or3o Posted March 31, 2012 Share Posted March 31, 2012 :/ never mind i didnt fix it, and when i equip an item and log out when i log back in the items gone. i know im doing something wrong but for the life of me I cant figure it out. Link to comment Share on other sites More sharing options...
Justn Posted March 31, 2012 Author Share Posted March 31, 2012 Sorry I can't help you right now I'm not infront of my pc… Did u delete ur accounts? And what error were u getting? Link to comment Share on other sites More sharing options...
or3o Posted March 31, 2012 Share Posted March 31, 2012 i deleted all characters and items. Its a runtime error 9 subscript out of range. and when i run in debug it highlights the code i put on my first post. thanks for looking into it.  i just copied and pasted everything you did exactly and this time it worked so apparently im an idiot. thank you for all the help and this guide is sweet! Link to comment Share on other sites More sharing options...
Fingle Posted April 2, 2012 Share Posted April 2, 2012 _AddressOf HandlePlayerWornEq_HandleDataSub(SPlayerWornEq) = GetAddress(AddressOf HandlePlayerWornEq)When I go to compile the client I am faced with this? I went over the stuff a few times I probably missed something tho. Any thoughts? Link to comment Share on other sites More sharing options...
davsd123 Posted April 2, 2012 Share Posted April 2, 2012 Help why I'am only getting The same? And when i open /edititem the one's i added didn't show up Link to comment Share on other sites More sharing options...
Justn Posted April 2, 2012 Author Share Posted April 2, 2012 It looks like u didn't **compile** your project bro Link to comment Share on other sites More sharing options...
Matt Posted April 17, 2012 Share Posted April 17, 2012 I followed the whole tutorial and compiled. I then start the server and i open my client. As i log in, i get an RTE 9\. Any help? Link to comment Share on other sites More sharing options...
erkro1 Posted April 17, 2012 Share Posted April 17, 2012 @Sigridunset:> I followed the whole tutorial and compiled. I then start the server and i open my client. As i log in, i get an RTE 9\. Any help?[![](http://filehost.worldlifewarfare.com/pics/f7107396e15b1766b2ee62ffc3759e28.JPG)](http://filehost.worldlifewarfare.com/#f7107396e15b1766b2ee62ffc3759e28.JPG) Link to comment Share on other sites More sharing options...
Justn Posted April 17, 2012 Author Share Posted April 17, 2012 You will need to delete your characters of out of your "/server/data/accounts/" folder and delete the names out of the charlist ini after you do the tutorial Link to comment Share on other sites More sharing options...
Matt Posted April 17, 2012 Share Posted April 17, 2012 @Justn:> You will need to delete your characters of out of your "/server/data/accounts/" folder and delete the names out of the charlist ini after you do the tutorialThank you! It worked! Link to comment Share on other sites More sharing options...
Mr.LLoyd Posted April 17, 2012 Share Posted April 17, 2012 This tutorial is really useful great job :] Link to comment Share on other sites More sharing options...
Matt Posted April 17, 2012 Share Posted April 17, 2012 I'm adding in one new item slot. However, what do i have to do so it looks like this on the Char?![](http://i44.tinypic.com/n656y8.jpg) Link to comment Share on other sites More sharing options...
Justn Posted April 17, 2012 Author Share Posted April 17, 2012 Find these and change them to fit what u need```' Character consts Public Const EqTop As Long = 164 Public Const EqLeft As Long = 43 Public Const EqOffsetX As Long = 3 Public Const EqOffsetY As Long = 4 Public Const EqColumns As Long = 3```If u can't figure it out ill help u when I get home from work Link to comment Share on other sites More sharing options...
Matt Posted April 18, 2012 Share Posted April 18, 2012 Yeah i need help. This is confusing to me because i don't know what they change. Link to comment Share on other sites More sharing options...
Justn Posted April 18, 2012 Author Share Posted April 18, 2012 Well first off u need to change the eqcolumns to 5 then the rest is for where it draws and the spacing. Then to change the order in which it draws them find this``` ' Equipment used by Players Public Enum Equipment``` 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