|
You last visited: Today at 18:39
Advertisement
How to limit the level of a map?
Discussion on How to limit the level of a map? within the EO PServer Hosting forum part of the Eudemons Online category.
11/07/2013, 23:28
|
#1
|
elite*gold: 0
Join Date: Nov 2012
Posts: 11
Received Thanks: 1
|
How to limit the level of a map?
Hello, I've been trying to setup a npc PKT, so it move the player level 1 to level 80 for a map, 81-160 and 161-255 map to another to another, the set could only 161-255 which used the code level <161, what code should I use to restrict the level to below 80 or below level 161? I tried to use the code to eliminate == convey more npc has limit of shares, if anyone can help ... thank you
|
|
|
11/07/2013, 23:36
|
#2
|
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
|
check the level is within X range before sending them to a map..
Code:
ACTION_USER_ATTR = 1001, // plays family member's revision and the inspection."attr opt data".attr may choose
// “level”, (+=, ==, <),
|
|
|
11/08/2013, 00:13
|
#3
|
elite*gold: 0
Join Date: Nov 2012
Posts: 11
Received Thanks: 1
|
Quote:
Originally Posted by hio77
check the level is within X range before sending them to a map..
Code:
ACTION_USER_ATTR = 1001, // plays family member's revision and the inspection."attr opt data".attr may choose
// “level”, (+=, ==, <),
|
+ = is the code used for the player to win a level? which I can use to lower level i put for example can only enter the map below to convey to players level 100 ?
8220010 8220015 8220011 1001 0 level +=
8220011 8220020 8220012 123 3 2 00:00 2 23:59
8220012 8220020 8220013 123 3 4 21:00 4 21:05
8220013 8220020 8220014 123 3 0 21:00 0 21:05
8220020 0 0 122 0 8220021 8220022 8220023 8220024 8220021 8220022 8220023 8220024
8220021 0 0 1003 0 9783 102 110
8220022 0 0 1003 0 9783 78 57
8220023 0 0 1003 0 9783 112 93
8220024 0 0 1003 0 9783 46 84
|
|
|
11/08/2013, 00:28
|
#4
|
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
|
You want to be using the greater than sign, ad your checking equality rather than setting.
|
|
|
11/08/2013, 00:52
|
#5
|
elite*gold: 540
Join Date: May 2009
Posts: 1,593
Received Thanks: 591
|
Quote:
Originally Posted by microviper
+ = is the code used for the player to win a level? which I can use to lower level i put for example can only enter the map below to convey to players level 100 ?
8220010 8220015 8220011 1001 0 level +=
8220011 8220020 8220012 123 3 2 00:00 2 23:59
8220012 8220020 8220013 123 3 4 21:00 4 21:05
8220013 8220020 8220014 123 3 0 21:00 0 21:05
8220020 0 0 122 0 8220021 8220022 8220023 8220024 8220021 8220022 8220023 8220024
8220021 0 0 1003 0 9783 102 110
8220022 0 0 1003 0 9783 78 57
8220023 0 0 1003 0 9783 112 93
8220024 0 0 1003 0 9783 46 84
|
you could write your action with type 1051 to give a player levels
but its unclear what ur trying to do
what hio said will check for a level as well as this action type he "isnt" wrong this is just another way to check .... as well as add or remove levels
but it seems to me like you want this specially for players lower than level 100 then you will have to add a variable for that before this though such as > or < you can also use == to check if it is a specific number
Code:
9 10 11 1051 0 level [>,<,==,+=,-=][somenumber]
so something like
Code:
8220010 8220011 8220012 1051 0 level < 100
8220011 8220013 0 1022 0 gmlog/action_log [someid],%user_id,[somewords here]
8220012 0 0 126 0 your~level~is~too~low. 0
8220013 8220014 0 1051 0 level += [somenumber]
8220014 0 0 126 0 you~have~a~new~level. 0
note: this is just as an example you would definately have to refine this to make it work for you ....
example: if you give more than 1 level per win ... the person at level 99 would have an advantage
note: you may notice I added a gm action log as well this is to allow you to check the usage of this action in your logs in case of a possible exploit ..... which is something you should do for things that award stuff like this
|
|
|
11/08/2013, 00:54
|
#6
|
elite*gold: 0
Join Date: Nov 2012
Posts: 11
Received Thanks: 1
|
Quote:
Originally Posted by hio77
You want to be using the greater than sign, ad your checking equality rather than setting.
|
so I have to use the equal sign? == This code will cause a certain level can not enter the map, more if I had to do this for all convey example == 81 == 82 ... 254 == 255 == so that the npc has limit actions and does not allow me to do this maneuver
|
|
|
11/08/2013, 01:10
|
#7
|
elite*gold: 540
Join Date: May 2009
Posts: 1,593
Received Thanks: 591
|
Quote:
Originally Posted by microviper
so I have to use the equal sign? == This code will cause a certain level can not enter the map, more if I had to do this for all convey example == 81 == 82 ... 254 == 255 == so that the npc has limit actions and does not allow me to do this maneuver
|
you would use the == line to make it either allow or not allow that specific number only for instance if you made it ==100 everyone lvl 1-99 could enter but not 100 and everyone 101-255 could also enter
i dont think you can add more than one variable to the single action but u could use an id next
but like hio mentioned already use < or > it would be more efficient
|
|
|
11/08/2013, 01:29
|
#8
|
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
|
Do be aware, there ate line break limits. Your limited to about 15 commands before a request or it will die (the 15 may not be right, I don't remember exact. )
|
|
|
11/08/2013, 06:32
|
#9
|
elite*gold: 20
Join Date: Sep 2007
Posts: 1,767
Received Thanks: 1,746
|
@hio77 - limit is based off a task call, so every cq_task entry that starts action code has its own limit
@OP - What you're trying to achieve will be done as they have mentioned. But some types won't allow for > signs so use what's been shown is allowed.
< 81 goto first pkt map or continue below
< 161 goto second map or
goto last map
|
|
|
11/08/2013, 09:37
|
#10
|
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
|
Quote:
Originally Posted by funhacker
@hio77 - limit is based off a task call, so every cq_task entry that starts action code has its own limit
@OP - What you're trying to achieve will be done as they have mentioned. But some types won't allow for > signs so use what's been shown is allowed.
< 81 goto first pkt map or continue below
< 161 goto second map or
goto last map
|
yeah, forgot which was the limiting factor.. none the less, you dont really wanna be checking if each level is equal... 256 times...
|
|
|
 |
Similar Threads
|
limit of level 90 or level 80 ep 6 should ps_game.exe
10/29/2013 - Shaiya PServer Development - 9 Replies
If you are in the hands or can download the file? There's currently working with sound files ps_game.exe files, I just want to level 70.
If you need to pay the fee to pay. smoothly as long Calisse
|
M2-WORK #TR Ausbruch von Typ 1 Level 99 Level Limit #
12/16/2012 - Metin2 PServer Advertising - 7 Replies
# TR Type Server Files Images
- Kostüm an das System angeschlossen.
- Energie an das System angeschlossen.
- One to One Metin2 Offizielle US Server als Efsun Rates!
- Beginner Level 1 Lv. jeweils.
- 500.000 Starts mit Yang.
- Max-Status 95, jeweils.
- Statülerinizi können bis zu Level 99.
- Sie können bis Ihr Server 4CH'ye.
- CH Shutdown Probleme wie nicht.
|
[HELP]How to set Level Limit
11/15/2010 - EO PServer Hosting - 4 Replies
How to set Lvl Limit 255 to 180 and which files in Db i need to change :rtfm:
|
Level Limit umgehen?
08/14/2009 - Kal Online - 7 Replies
Ahoi.
Hätte eine frage. Spiele auf einem Server, auf dem fast jeder Dungeon ein Lvllimit hat. Gibt es eine möglichkeit sich d3 f6 etc zu moven?
würde mich auf antworten freuen..geht übrigens um den Requiem Server.
Grüße, Mastersora
|
All times are GMT +1. The time now is 18:41.
|
|