ShadowIce Posted February 13, 2009 Author Share Posted February 13, 2009 Can someone tell me which EXACT line is used when the player is INBETWEEN map transitions? Link to comment Share on other sites More sharing options...
unnown Posted February 13, 2009 Share Posted February 13, 2009 sub playerwarp :) Link to comment Share on other sites More sharing options...
ShadowIce Posted February 13, 2009 Author Share Posted February 13, 2009 no dude, the client source, not main.txt Link to comment Share on other sites More sharing options...
unnown Posted February 13, 2009 Share Posted February 13, 2009 sub playerwarp…search first then ask...btw..it was in the server...not the client...there's the inbetween part of maps,and if you want the recieving map part just search that in the client :)and sub playerwarp is source... Link to comment Share on other sites More sharing options...
ShadowIce Posted February 14, 2009 Author Share Posted February 14, 2009 ok, here's the line to fix this. i just dont know how.Call SendData("refresh" & END_CHAR)use this to refresh map. how, idk, but if you figure it out, plz tell us about it :)thanks! :)~ShadowIce~ Link to comment Share on other sites More sharing options...
ShadowIce Posted February 23, 2009 Author Share Posted February 23, 2009 Can someone help me? Link to comment Share on other sites More sharing options...
cheatking Posted February 23, 2009 Share Posted February 23, 2009 Type /refresh in the chatbox. Link to comment Share on other sites More sharing options...
ShadowIce Posted February 23, 2009 Author Share Posted February 23, 2009 i know. what i mean is, can someone help me fix this error so no 1 has to type anything? if im going to sell my game, i want it to look pro! :) Link to comment Share on other sites More sharing options...
cheatking Posted February 23, 2009 Share Posted February 23, 2009 This maight help.```Sub OnMapLoad(Index, OldMap, NewMap)If GetPlayerMap(Index) = Oldmap ThenCall SetPlayerMap(Index, NewMap)End If[/code[[/code]``` Link to comment Share on other sites More sharing options...
ShadowIce Posted February 23, 2009 Author Share Posted February 23, 2009 nope, still freezes. is there anything i can change in the ee source? Link to comment Share on other sites More sharing options...
anasky Posted February 23, 2009 Share Posted February 23, 2009 You're actual question at line 1 is answered by unnown, if you want to get the bug fixed, post your whole sub. Link to comment Share on other sites More sharing options...
ShadowIce Posted February 23, 2009 Author Share Posted February 23, 2009 i think its this sub.```Sub PlayerWarp(ByVal Index As Long, ByVal MapNum As Long, ByVal X As Long, ByVal Y As Long)  Dim OldMap As Long  On Error GoTo WarpErr  ' Check for subscript out of range.  If Not IsPlaying(Index) Then    Exit Sub  End If  ' Check for subscript out of range.  If MapNum < 1 Or MapNum > MAX_MAPS Then    Exit Sub  End If  ' Save current number map the player is on.  OldMap = GetPlayerMap(Index)  If Not OldMap = MapNum Then    Call SendLeaveMap(Index, OldMap)  End If  Call SetPlayerMap(Index, MapNum)  Call SetPlayerX(Index, X)  Call SetPlayerY(Index, Y)  ' Check to see if anyone is on the map.  If GetTotalMapPlayers(OldMap) = 0 Then    PlayersOnMap(OldMap) = NO  End If  ' Sets it so we know to process npcs on the map  PlayersOnMap(MapNum) = YES  Call SendDataToMap(GetPlayerMap(Index), "sound" & SEP_CHAR & "warp" & END_CHAR)  Player(Index).GettingMap = YES  Call SendDataTo(Index, "CHECKFORMAP" & SEP_CHAR & MapNum & SEP_CHAR & Map(MapNum).Revision & END_CHAR)  Call SendInventory(Index)  Call SendIndexInventoryFromMap(Index)  Call SendIndexWornEquipmentFromMap(Index)  If SCRIPTING = 1 Then    MyScript.ExecuteStatement "Scripts\Main.txt", "OnMapLoad " & Index & "," & OldMap & "," & MapNum  End If  Exit SubWarpErr:  Call AddLog("PlayerWarp error for player index " & Index & " on map " & GetPlayerMap(Index) & ".", "logs\ErrorLog.txt")End Sub```it is whatever is linked up to this:```        ' Show player that a new map is loading        Call DrawText(TexthDC, 36, 36, "Receiving map...", QBColor(BRIGHTCYAN))      End If``` Link to comment Share on other sites More sharing options...
cheatking Posted February 23, 2009 Share Posted February 23, 2009 WHEN does it freeze? None of my maps freeze. Link to comment Share on other sites More sharing options...
ShadowIce Posted February 23, 2009 Author Share Posted February 23, 2009 Ok, both me & agoraphobic & maybe anna can agree that the maps SOMETIMES freeze when you go from map to map. if you keep going back & forth FAST, you'll see why. Link to comment Share on other sites More sharing options...
cheatking Posted February 23, 2009 Share Posted February 23, 2009 Meaby make a timer and after so long it reloads map? Link to comment Share on other sites More sharing options...
ShadowIce Posted February 23, 2009 Author Share Posted February 23, 2009 well, agoraphobic already tried that. but to no avail. this issue NEEDS to be taken care of ASAP. the editor would make us look horrible if we sold our games. so ANY ideas would be GREATLY appreciated :)Thanks! Link to comment Share on other sites More sharing options...
ShadowIce Posted February 23, 2009 Author Share Posted February 23, 2009 anyone? Link to comment Share on other sites More sharing options...
unnown Posted February 23, 2009 Share Posted February 23, 2009 lemme try :)i can't reproduce this, i made 2 full maps, gave them npc's animations, everythingthen put another player on one of the maps,switched constantly, but nothing Link to comment Share on other sites More sharing options...
ShadowIce Posted February 24, 2009 Author Share Posted February 24, 2009 you have to do it fast. and pressing the arrow keys at about the same time helps too. Link to comment Share on other sites More sharing options...
unnown Posted February 24, 2009 Share Posted February 24, 2009 i did, i constantly switched, nothing happened on a fresh source, Link to comment Share on other sites More sharing options...
ShadowIce Posted February 25, 2009 Author Share Posted February 25, 2009 do i have to show u a video? cuz i will :) 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