Jump to content
  • 0

after creating a new character how to warp it automatically to one warp once logged in


rmon008

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  80
  • Reputation:   1
  • Joined:  09/13/13
  • Last Seen:  

after creating a new character how to warp it automatically to one warp once logged in

 

because i don't want any character for that map to be their savepoint

 

scenario

 

create character

after character select if first time login it will warp automatically to poring map and after they kill some porings they can go back to there savepoint so they save point will still be

 

// Start point, Map name followed by coordinates (x,y)
start_point: prontera,151,179

 

Thanks in advance

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

The default behavior is start point AND save point are set to this config:

// Starting point for new characters
// Format: <map_name>,<x>,<y>
start_point: new_1-1,53,111

create character

after character select if first time login it will warp automatically to poring map and after they kill some porings they can go back to there savepoint so they save point will still be

 

// Start point, Map name followed by coordinates (x,y)

start_point: prontera,151,179

Just to clarify: you want new chars to start in one place (poring map), but save point to be prontera,151,179 ?

Using savepoint like Emistry suggested, this is what you would do:

1. set the start_point config in conf/char_athena.conf#L99 to the Poring map

start_point: prt_fild00,150,150
2. create a script that triggers when they login for the first time

(the script will set their save point to prontera,151,179

Here is an example:

prt_fild00,150,150,0	script	Change_Save	139,1,1,{
OnTouch:
	if (Class==Job_Novice && BaseExp==0 && BaseLevel==1) {
		savepoint "prontera",151,179;
		set BaseExp,1; // (no need to create a new variable)
	}
	end;
}
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

after they kill some poring....change their savepoint too when you warp them.

*savepoint "<map name>",<x>,<y>;
*save "<map name>",<x>,<y>;

These commands save where the invoking character will return to upon clicking
"Return to Save Point", after death and in some other cases. The two versions are 
equivalent. They ignore any and all mapflags, and can make a character respawn where
no teleportation is otherwise possible.

    savepoint "place",350,75;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  80
  • Reputation:   1
  • Joined:  09/13/13
  • Last Seen:  

after they kill some poring....change their savepoint too when you warp them.

*savepoint "<map name>",<x>,<y>;
*save "<map name>",<x>,<y>;

These commands save where the invoking character will return to upon clicking
"Return to Save Point", after death and in some other cases. The two versions are 
equivalent. They ignore any and all mapflags, and can make a character respawn where
no teleportation is otherwise possible.

    savepoint "place",350,75;

 

but how it will check if the character is 1st time log in ?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

create character

after character select if first time login it will warp automatically to poring map and after they kill some porings they can go back to there savepoint so they save point will still be

your problem is just their savepoint isnt updated....so you just update their savepoint..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  80
  • Reputation:   1
  • Joined:  09/13/13
  • Last Seen:  

 

create character

after character select if first time login it will warp automatically to poring map and after they kill some porings they can go back to there savepoint so they save point will still be

your problem is just their savepoint isnt updated....so you just update their savepoint..

can you give me any sample how will i start it ?

Link to comment
Share on other sites

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.

×
×
  • Create New...