Jump to content
  • 0

Unable to find map-server for 'cell_game'


Question

Posted

Got a problem with this, how to fix it? My character is always sent back to Prontera. I just wanted to make my char stay in that position in 'cell_game' map. If I DC, I was hoping to be back at same map, same position or even I log out.. Need help

 

Unable to find map-server for 'cell_game' Sending Major City 'Prontera".

 

 

13 answers to this question

Recommended Posts

Posted

are you able to warp to your cell_game map? if you are, you need to set mapflags on that map. if not, you may need to re cache you map data.

Posted

are you able to warp to your cell_game map? if you are, you need to set mapflags on that map. if not, you may need to re cache you map data.

I can warp there.. I already added 'cell_game' in maps_athena.conf, map_index and I already cache the map_cache.dat

 

I already set mapflag like noreturn, nosave savepoint, nowarp, noteleport etc.. But still that error shows in my char-server.bat

Posted

goto your map_index then place the map cell_game on top. then recache your mapcache

I already put 'cell_game' there and even I put their map ID.. I'll try to recache.. thanks ! Does it need server restart or just @reload?

Posted

goto your map_index then place the map cell_game on top. then recache your mapcache

I already put 'cell_game' there and even I put their map ID.. I'll try to recache.. thanks ! Does it need server restart or just @reload?

example

Celestiaj 1250
cell_game < -- add here
mymap1
mymap2
mymap3
mymap4
Posted

 

goto your map_index then place the map cell_game on top. then recache your mapcache

I already put 'cell_game' there and even I put their map ID.. I'll try to recache.. thanks ! Does it need server restart or just @reload?

example

 

Celestiaj 1250
cell_game < -- add here
mymap1
mymap2
mymap3
mymap4

Still doesn't save its position -.-, I did everything recache, map_index, replace the grf, maps_athena.conf and mapflags.............but still it doesn't save lol, I use rAthena don't hve any idea why this can't be fixed, I use 3ceam before and I didn't got any worries lol anymore suggestions?

Posted

I don't know how to fix it, but you can always save the coordinates on disconnection in a player variable and then warping them back. You can use that as a low-end solution.

Posted

I don't know how to fix it, but you can always save the coordinates on disconnection in a player variable and then warping them back. You can use that as a low-end solution.

How is that solution? Will this be helpful?

 

 

 

did you delete your mapcache.dat?

if no

you need to delete mapcache.dat and save a new mapcache

I already did that..

Posted

Well, I meant you could use a cheap script like this one:

 

-	script	warpback2cellgame	-1,{

OnPCLogoutEvent:
	getmapxy(.@map$,.@x,.@y,0)
	if(.@map$ == "cell_game") 
		setarray warpback2cellgame[0],.@x,.@y;  // Storing last player's position
	end;

OnPCLoginEvent:
	if (warpback2cellgame[0]) {// If the player was last there this should not be 0
		warp "cell_game",warpback2cellgame[0],warpback2cellgame[1];
		deletearray warpback2cellgame[0],2;
	}
	end;
}

Haven't tested this one and haven't scripted for some time, so there may be errors on that one. The script supposedly saves the player position on logout if he's on the cell_game map and then restores his position on login.

 

But it's a pretty tatty solution anyways.

Posted

Well, I meant you could use a cheap script like this one:

 

-	script	warpback2cellgame	-1,{

OnPCLogoutEvent:
	getmapxy(.@map$,.@x,.@y,0)
	if(.@map$ == "cell_game") 
		setarray warpback2cellgame[0],.@x,.@y;  // Storing last player's position
	end;

OnPCLoginEvent:
	if (warpback2cellgame[0]) {// If the player was last there this should not be 0
		warp "cell_game",warpback2cellgame[0],warpback2cellgame[1];
		deletearray warpback2cellgame[0],2;
	}
	end;
}

Haven't tested this one and haven't scripted for some time, so there may be errors on that one. The script supposedly saves the player position on logout if he's on the cell_game map and then restores his position on login.

 

But it's a pretty tatty solution anyways.

Will this be good? XD I'll try this and hope it will help...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...