Jump to content

King of the Hill


Recommended Posts


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

@madtoyz..

read this.. Getmapxy

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  142
  • Reputation:   10
  • Joined:  01/21/12
  • Last Seen:  

sory i dont understand the details about,

so i need do like this?.

getmapxy(.@m$,.@x,.@y);
if(.@m$!="prontera")

then after the event end,player will @save at prontera back right ?.

because now all players save at KOTH map.

Link to comment
Share on other sites


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

that just use to retrieve your player current location...same as

strcharinfo(3)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  142
  • Reputation:   10
  • Joined:  01/21/12
  • Last Seen:  

any solution to give the player after play that game,will autosave back to prontera,155,168 ?

koth.jpg

whats the matter ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   217
  • Joined:  11/22/11
  • Last Seen:  

any solution to give the player after play that game,will autosave back to prontera,155,168 ?

koth.jpg

whats the matter ?

type

*getmapxy("<variable for map name>",<variable for x>,<variable for y>,<type>{,"<search string>"})

This function will locate a character object, NPC object or pet's coordinates 
and place their coordinates into the variables specified when calling it. It 
will return 0 if the search was successful, and -1 if the parameters given were 
not variables or the search was not successful.

Type is the type of object to search for:

 0 - Character object
 1 - NPC object
 2 - Pet object
 3 - Monster object.

While 3 is meant to look for a monster object, no searching will be done if you 
specify type 3, and the function will always return -1.

The search string is optional. If it is not specified, the location of the 
invoking character will always be returned for types 0 and 2, the location of 
the NPC running this function for type 1.
If a search string is specified, for types 0 and 1, the character or NPC with 
the specified name will be located. If type is 3, the search will locate the 
current pet of the character who's name is given in the search string, it will 
NOT locate a pet by name.

Edited by goddameit
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  142
  • Reputation:   10
  • Joined:  01/21/12
  • Last Seen:  

sory i dont understand the details about,

so i need do like this?.

getmapxy(.@m$,.@x,.@y);
if(.@m$!="prontera")

then after the event end,player will @save at prontera back right ?.

because now all players save at KOTH map.

Link to comment
Share on other sites


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

getmapxy(.@m$,.@x,.@y,0);

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  142
  • Reputation:   10
  • Joined:  01/21/12
  • Last Seen:  

getmapxy(.@m$,.@x,.@y,0);

the things that im blur,

getprontera,138,174(.@m$,.@x,.@y,0); ??

or

getmapxy(.@m$prontera,.@x138,.@y174,0); ??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   217
  • Joined:  11/22/11
  • Last Seen:  

getmapxy(.@m$,.@x,.@y,0);

the things that im blur,

getprontera,138,174(.@m$,.@x,.@y,0); ??

or

getmapxy(.@m$prontera,.@x138,.@y174,0); ??

do not use my topic to ask your request,

use http://rathena.org/board/forum/30-scripting-support/ or http://rathena.org/board/forum/32-script-requests/, thx.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  142
  • Reputation:   10
  • Joined:  01/21/12
  • Last Seen:  

owh sorry..

ill create new topic.

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  11/25/12
  • Last Seen:  

can u please

getmapxy(.@m$,.@x,.@y,0);

can u please post the working script? :( tjhanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  01/08/13
  • Last Seen:  

Can u make a script with start and stop event by the GM like this npc:start and npc:stop

thanx ^__^

Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  89
  • Reputation:   5
  • Joined:  12/25/11
  • Last Seen:  

sorry for necro posting but how can i edit this to be like this?

 

the teams fight for the point, example killing an emperium

 

when you capture the emperium, the timer starts

 

but when an enemy captures the emperium the timer resets and is passed to the team who captured it.

 

can you help me please?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   217
  • Joined:  11/22/11
  • Last Seen:  

...

 

if you would pay for it, I can give you my answer.

Edited by goddameit
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  67
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   1
  • Joined:  05/01/13
  • Last Seen:  

how can i know if the player on red and blue team



if the played died i cant respawn in the map perfectly how to fix this

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  130
  • Topics Per Day:  0.03
  • Content Count:  528
  • Reputation:   18
  • Joined:  09/11/12
  • Last Seen:  

Download Map : koth01.grf

 

grf is down. Can you please reupload it?

Link to comment
Share on other sites

  • 1 month later...

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

the npc doesnt work :S

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  67
  • Reputation:   2
  • Joined:  08/09/13
  • Last Seen:  

why when i entered the room, middle of the map got 1 Red plant with a chat room (empty words) ???? and ur KOTH video at youtube is not works for me.. not running.. someone please re-upload tqtq

>and ur KOTH video at youtube is not works for me

use proxy

 

Hi, Godamm.

 

 

mind if i ask about this, im wondering why the script looking for this npc.. i just check the script the npc is on the script but still looking for

 

http://prntscr.com/217oup ..

Link to comment
Share on other sites

  • 6 months later...

  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

Hi,

How Can we add prize to the winner?

Link to comment
Share on other sites

  • 6 years later...

  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.11
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

Hi ! GRF link is not working ..can you give me map of KOTH01 thanks 

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
Reply to this topic...

×   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...