OmegaRedd Posted March 4, 2011 Author Share Posted March 4, 2011 Can someone tell me how to set it so that I can walk through other players? I'm having problems with waiting for other players to move out of the way to buy an item from the shop. But if someone decides to go away while on the shop attribute, then they're screwed. Link to comment Share on other sites More sharing options...
azin Posted March 5, 2011 Share Posted March 5, 2011 Open up Client.vbp with VB6under modGameLogic find this:``` ' Check to see if a player is already on that tile For i = 1 To Player_HighIndex If IsPlaying(i) And GetPlayerMap(i) = GetPlayerMap(MyIndex) Then If GetPlayerX(i) = x Then If GetPlayerY(i) = y Then CheckDirection = True Exit Function End If End If End If Next i ' Check to see if a npc is already on that tile For i = 1 To Npc_HighIndex If MapNpc(i).num > 0 Then If MapNpc(i).x = x Then If MapNpc(i).y = y Then CheckDirection = True Exit Function End If End If End If Next```delete that entire code. save, and compile now you can now walk through both players, and monsters/NPC. have fun ;P Link to comment Share on other sites More sharing options...
BugSICK Posted March 5, 2011 Share Posted March 5, 2011 wow, i never tried this yet, but this is what im looking for. thanks Link to comment Share on other sites More sharing options...
Richy420Rich Posted March 5, 2011 Share Posted March 5, 2011 Nice thanks azin, might use this myself. :) Link to comment Share on other sites More sharing options...
Gimulex Posted March 5, 2011 Share Posted March 5, 2011 Wow, that's a nice strategy. But I would just like… Make the shop wider and have like 5 shop attributes there. Link to comment Share on other sites More sharing options...
Richy420Rich Posted March 5, 2011 Share Posted March 5, 2011 Or just add a check if tile attribute isnt shop/bank or otherwise, to stop the walkthrough. Link to comment Share on other sites More sharing options...
OmegaRedd Posted March 5, 2011 Author Share Posted March 5, 2011 Okay azin I did exactly what you said, and It's still not working for me.. If you guys could take a look at what I'm doing, and tell me if It's something I'm not doing because this isn't the first time I tried to edit something and it hasn't worked.http://www.youtube.com/watch?v=MRYsN89Fi5A Link to comment Share on other sites More sharing options...
Ruins of Hell Posted March 5, 2011 Share Posted March 5, 2011 You don't save. You compile. File > Make Eclipse Origins.exe. Same place where save is. Link to comment Share on other sites More sharing options...
OmegaRedd Posted March 5, 2011 Author Share Posted March 5, 2011 Works like a charm :D Thanks. Link to comment Share on other sites More sharing options...
damian666 Posted March 5, 2011 Share Posted March 5, 2011 i think you have to do the same server sided, not sure, but it could mess up your location server sided .Dami 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