chiccora Posted April 6, 2010 Author Share Posted April 6, 2010 I know there are problems with the Speed and Magic constants in Eclipse Stablen (And other versions of Eclipse). I know there are topics about this in the Stable topic and the Known bugs sub board but I want to know EXACTLY how I can fix this today. At first the magic and speed variants were in opposite positions and I think Godlord's Main 9.x fixed that however here is the problem I am currently dealing with:The attributes go like this:LEVELMAGICSPEEDSTRENGTHDEFENSEPOINTSNow if I have some points and I click to add it to the Magic variant..it will say YOU HAVE GAINED MORE MAGIC…however the point will be added to the speed attribute row. However, one good thing is that the attributes are not totally messed up, because although when adding a point to magic and it ends up in the speed column; the MP will increase, there for the proper stat is still gaining the stat point. I just want to know how to fix it so that when i add a point to magic OR speed, that it shows in the stat screen under that attribute and not the other one.Can someone help me how to do this..I am assuming therew ill be some edits in the source made, if so can someone people help me a bit with this and what to do exactly..I attached a screenshot to show the problem.**The screen shot shows a character who originally had 1 speed and 1 magic..the character gained a level and decided to add 1 point to magic as you can read in the battle log however when adding the point it shows You have gained more magic but it shows the new point in the speed section. Also the MP has increased by 10 meaning that the attribute point is being added to the right stat, its just that its showing up in the speed section** Link to comment Share on other sites More sharing options...
New2Eclipse Posted April 6, 2010 Share Posted April 6, 2010 look in main.ess and change this bit' Stat constantsPublic Const STAT_STRENGTH = 0Public Const STAT_DEFENCE = 1Public Const STAT_SPEED = 2Public Const STAT_MAGIC = 3it worked 4 me :) Link to comment Share on other sites More sharing options...
chiccora Posted April 6, 2010 Author Share Posted April 6, 2010 Nooo that part of the main is not messed up..I think its a problem somewhere in the source Link to comment Share on other sites More sharing options...
Godlord Posted April 6, 2010 Share Posted April 6, 2010 @chiccora:> Nooo that part of the main is not messed up..I think its a problem somewhere in the sourceIt is and has been for a long time now. People started complaining about it, since they thought it was my main. But EE 2.7 has the exact same problem as well.Regards, Godlord. Link to comment Share on other sites More sharing options...
chiccora Posted April 7, 2010 Author Share Posted April 7, 2010 Brutal. Is there a fix regarding this issue that can be used through coding? Link to comment Share on other sites More sharing options...
Guest Posted May 6, 2010 Share Posted May 6, 2010 @New2Eclipse:> look in main.ess and change this bit> > ' Stat constants> Public Const STAT_STRENGTH = 0> Public Const STAT_DEFENCE = 1> Public Const STAT_SPEED = 2> Public Const STAT_MAGIC = 3> > it worked 4 me :)i had same problem but this fix it tnx :) Link to comment Share on other sites More sharing options...
Gohan Posted May 7, 2010 Share Posted May 7, 2010 @Raiko:> @New2Eclipse:> > > look in main.ess and change this bit> > > > ' Stat constants> > Public Const STAT_STRENGTH = 0> > Public Const STAT_DEFENCE = 1> > Public Const STAT_SPEED = 2> > Public Const STAT_MAGIC = 3> > > > it worked 4 me :)> > I had same problem but this fix it tnx :)That halfway fixed it for me. It now puts the effects in the proper position but the number goes to the other one. Is there no fix for that? Link to comment Share on other sites More sharing options...
Unknown_raven Posted May 9, 2010 Share Posted May 9, 2010 Ok I've been looking through the E-Stable to see if I can't figure out whats going on and I have only partially managed to fix it. Heres what you do need to do in order to full fix it.In both the client and the Server, there are packets that send the stats back and forth, the problem is that some packets send the stats in this order,STR-DEF-MAGI-SPEEDwhile others send it in this orderSTR-DEF-SPEED-MAGINow from what I can see with the way its structured, the correct order is supposed to be the second one, STR-DEF-SPEED-MAGI. So inorder to fix the problems you need to go into both sources and look for any packets that are not sending the data in the right order, and flip them around. I will post some of what I've found but be cautioned that this doesnt fix the entire thing, there is still an issue with it giving you energy when you level up speed.==SERVER SIDE==-Open ModHandelData and find```Public Sub Packet_UseStatPoint```-look down in the select case part for```Case 2 Call SetPlayerMAGI(index, GetPlayerMAGI(index) + 1) Call BattleMsg(index, "You have gained more magic!", 15, 0)Case 3 Call SetPlayerSPEED(index, GetPlayerSPEED(index) + 1) Call BattleMsg(index, "You have gained more speed!", 15, 0)```-now switch those around so it looks like this```Case 2 Call SetPlayerSPEED(index, GetPlayerSPEED(index) + 1) Call BattleMsg(index, "You have gained more speed!", 15, 0)Case 3 Call SetPlayerMAGI(index, GetPlayerMAGI(index) + 1) Call BattleMsg(index, "You have gained more magic!", 15, 0)```==CLIENT SIDE==-open ModHandleData and find```Public Sub Packet_PlayerStatsPacket```-change this:```Public Sub Packet_PlayerStatsPacket(ByVal STR As Long, ByVal DEF As Long, ByVal Mag As Long, ByVal Spe As Long, ByVal MaxExp As Long, ByVal Exp As Long, ByVal lvl As Long)```-into this:```Public Sub Packet_PlayerStatsPacket(ByVal STR As Long, ByVal DEF As Long, ByVal Spe As Long, ByVal Mag As Long, ByVal MaxExp As Long, ByVal Exp As Long, ByVal lvl As Long)```When I get home today I'll try and look through the source some more to find all the issues. For now only use the above code as a reference, don't make the changes until you've found all the problems. Link to comment Share on other sites More sharing options...
Gohan Posted May 19, 2010 Share Posted May 19, 2010 @Unknown_raven:> there is still an issue with it giving you energy when you level up speed.Edit the Main and that part is fixed. Link to comment Share on other sites More sharing options...
Venorize Posted May 21, 2010 Share Posted May 21, 2010 So the problem still remains that the actual values list in the wrong positions on the client. I've tried everything both client and server side, but in the end I think this fix will require a hard source edit of the client.If I could break down the code on the character stats page of the client it would show:Magic: (your speed) +MagicSpeed: (your magic) +Speed=( Link to comment Share on other sites More sharing options...
SwordStory Posted May 21, 2010 Share Posted May 21, 2010 i had this problem, i just went into the source and swapped the places of speed and magic =) Link to comment Share on other sites More sharing options...
Venorize Posted May 21, 2010 Share Posted May 21, 2010 Yes but not everybody has vb6 =(, until a new client release containing a fix, we need script fix. Link to comment Share on other sites More sharing options...
damian666 Posted May 21, 2010 Share Posted May 21, 2010 seeying i dont have much time to investigate, fix it and post it.ill do a fast recompile for you guys then.Damian666 Link to comment Share on other sites More sharing options...
Gohan Posted May 21, 2010 Share Posted May 21, 2010 @[SB:> Damian666 link=topic=59064.msg639824#msg639824 date=1274440731]> seeying I dont have much time to investigate, fix it and post it.> > ill do a fast recompile for you guys then.> > Damian666Mine is fixed as far as I can tell :) Link to comment Share on other sites More sharing options...
miroki123 Posted May 22, 2010 Share Posted May 22, 2010 Changing it in main does NOT fix the issue. As Grey's post shows, the packet swaps speed and magic. You might not notice it, but it's there. Link to comment Share on other sites More sharing options...
Gohan Posted May 22, 2010 Share Posted May 22, 2010 @miroki123:> Changing it in main does NOT fix the issue. As Grey's post shows, the packet swaps speed and magic. You might not notice it, but it's there.Yes, changng the main does not fix the issue, it partway fixes it.Before I changed the main, if I added a point to speed it added the point to magic, and the effect was that magic increased, and vice versa.After I changed the main if I added a point to speed it put the point in magic, but the effect was that speed increased, and vice versa.Changing the main does not fix the issue, but it is part of the fix. Link to comment Share on other sites More sharing options...
DarkSpine Posted May 22, 2010 Share Posted May 22, 2010 @Gohan:> @miroki123:> > > Changing it in main does NOT fix the issue. As Grey's post shows, the packet swaps speed and magic. You might not notice it, but it's there.> > Yes, changng the main does not fix the issue, it partway fixes it.> > Before I changed the main, if I added a point to speed it added the point to magic, and the effect was that magic increased, and vice versa.> > After I changed the main if I added a point to speed it put the point in magic, but the effect was that speed increased, and vice versa.> > Changing the main does not fix the issue, but it is part of the fix.Changing the main pretty much does nothing, other than lie to you. I tested this out after starting my game, using an item that required 8 speed, I equipped it, when it said I had 0 speed and 8 magic. If you change what the message said, it'll then be lying to the player, resulting in confusion with stat requirements on armor and weapons.The problem is the label, not anything else. Pretty much, you have to change what the labels say in VB6, or else you're prolly gonna end up screwing it up even more.~Urame Link to comment Share on other sites More sharing options...
Gohan Posted May 22, 2010 Share Posted May 22, 2010 @Urame:> @Gohan:> > > @miroki123:> > > > > Changing it in main does NOT fix the issue. As Grey's post shows, the packet swaps speed and magic. You might not notice it, but it's there.> > > > Yes, changng the main does not fix the issue, it partway fixes it.> > > > Before I changed the main, if I added a point to speed it added the point to magic, and the effect was that magic increased, and vice versa.> > > > After I changed the main if I added a point to speed it put the point in magic, but the effect was that speed increased, and vice versa.> > > > Changing the main does not fix the issue, but it is part of the fix.> > Changing the main pretty much does nothing, other than lie to you. I tested this out after starting my game, using an item that required 8 speed, I equipped it, when it said I had 0 speed and 8 magic. If you change what the message said, it'll then be lying to the player, resulting in confusion with stat requirements on armor and weapons.> > The problem is the label, not anything else. Pretty much, you have to change what the labels say in VB6, or else you're prolly gonna end up screwing it up even more.> > ~Urame…apparenlty I fell for it -_- my badOh well, mine is fixed so I'm happy. Link to comment Share on other sites More sharing options...
Venorize Posted May 22, 2010 Share Posted May 22, 2010 Could someone with vb6 and the knowledge to fix it please upload a fixed version? This is a pretty big bug, that can seriously conflict with running a game successfully. 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