Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 19:42

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help Thread] Please post your questions here.

Discussion on [Help Thread] Please post your questions here. within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old 11/12/2017, 19:30   #6661
 
elite*gold: 0
Join Date: Apr 2017
Posts: 109
Received Thanks: 9
What is the "state_code" in different .lua files? (Already resolved. Its a country code, that you have in local info maybe, but i dont know where i can see my local code)
For those, who also looking some local codes :

Now i have NEW question.

On lvlUp for insert gifts we use next loop :
PHP Code:
function on_player_level_up()

    --
local txtycurrent_xisland_number
    local lv 
get_value"level" )
    
local max_reached_level gv"max_reached_level" )
    
local state_code get_local_info()
        
    
local i
    
for max_reached_level lv do
            --
loop body etc
        end
end 
I dont understand, how its works : "for i = max_reached_level + 1 , lv do", cause if we take 10 lvl, our max_reached_level and lv === 10, and then for i = 11, 10 do will never work, so HOW?

OR max_reached_level inc only after this function was running?
YuhaBah is offline  
Old 11/13/2017, 12:41   #6662
 
thefear511's Avatar
 
elite*gold: 0
Join Date: Nov 2012
Posts: 943
Received Thanks: 257
Quote:
Originally Posted by YuhaBah View Post
What is the "state_code" in different .lua files? (Already resolved. Its a country code, that you have in local info maybe, but i dont know where i can see my local code)
For those, who also looking some local codes :

Now i have NEW question.

On lvlUp for insert gifts we use next loop :
PHP Code:
function on_player_level_up()

    --
local txtycurrent_xisland_number
    local lv 
get_value"level" )
    
local max_reached_level gv"max_reached_level" )
    
local state_code get_local_info()
        
    
local i
    
for max_reached_level lv do
            --
loop body etc
        end
end 
I dont understand, how its works : "for i = max_reached_level + 1 , lv do", cause if we take 10 lvl, our max_reached_level and lv === 10, and then for i = 11, 10 do will never work, so HOW?

OR max_reached_level inc only after this function was running?
simply from my understanding , the syntax defines the entry "i" as a max level .
so if you put

it means that in this code the maximum level for it is 10 , so if you reach 20 the code will not be activated because in its mind the maximum level for this reward is 10 and only.

and its fine if you put later on i==20 and put on codes of items like above it will not overlap the first define , basically the "i" represent the level given , so whatever number you put will have its own define depending on the number given after the "i"
so if you put i==15 , this will be only for lvl 15 and it will never happen to level 20 etc.

if you put two layers with same number , like this
the character will get both items 2013011&312312212.
this is really hard for me to explain but if you stare to the file 10 minutes you'll get it :P i hope that helped.
thefear511 is offline  
Thanks
1 User
Old 11/13/2017, 12:51   #6663
 
elite*gold: 0
Join Date: Apr 2017
Posts: 109
Received Thanks: 9
Thanks for explain, but my question is whats going on in this script, thet make it work right

Look at that :
PHP Code:
function on_player_level_up() 

    --
local txtycurrent_xisland_number 
    local lv 
get_value"level" ) --lv now 10
    local max_reached_level 
gv"max_reached_level" ) --max_reached_level clearly also 10 ( or im wrong?)
    
local state_code get_local_info() -- bla-bla-bla
         
    local i 
    
for max_reached_level lv do -- for 10 10 do bla-bla
            
--loop body NEWER done with upper 
condition
cause 11 then 10 !!!! but it run and work well in gameWHY
        
end 
end 
may be i dont understand syntax and "max_reached_level" in this condition "for i = max_reached_level + 1 , lv do" will be increment only AFTER then loop is done and loop begin with "max_reached_level" = 10?
YuhaBah is offline  
Old 11/13/2017, 12:56   #6664
 
thefear511's Avatar
 
elite*gold: 0
Join Date: Nov 2012
Posts: 943
Received Thanks: 257
Quote:
Originally Posted by YuhaBah View Post
Thanks for explain, but my question is whats going on in this script, thet make it work right

Look at that :
PHP Code:
function on_player_level_up() 

    --
local txtycurrent_xisland_number 
    local lv 
get_value"level" ) --lv now 10
    local max_reached_level 
gv"max_reached_level" ) --max_reached_level clearly also 10 ( or im wrong?)
    
local state_code get_local_info() -- bla-bla-bla
         
    local i 
    
for max_reached_level lv do -- for 10 10 do bla-bla
            
--loop body NEWER done with upper 
condition
cause 11 then 10 !!!! but it run and work well in gameWHY
        
end 
end 
may be i dont understand syntax and "max_reached_level" in this condition "for i = max_reached_level + 1 , lv do" will be increment only AFTER then loop is done and loop begin with "max_reached_level" = 10?
well don't mind the syntax , just know this

if you put i==10, no one will get the rewards at lvl 9 or less, or 11 and higher. maybe this will convince you :P i don't know how to explain im new to .lua too but thats how it works.
thefear511 is offline  
Old 11/13/2017, 13:03   #6665
 
elite*gold: 0
Join Date: Apr 2017
Posts: 109
Received Thanks: 9
Quote:
Originally Posted by thefear511 View Post
if you put i==10, no one will get the rewards at lvl 9 or less, or 11 and higher.

It's not about gifts, how about the reason for the why this loop is working

UPDATE

I make little discover :
PHP Code:
 --local txtycurrent_xisland_number  
    local lv 
get_value"level" ) --lv now 10 
    local max_reached_level 
gv"max_reached_level" ) --max_reached_level NOW IS 9!!! But i dont know why =)
    
local state_code get_local_info() -- bla-bla-bla 
How i checked that? i just make condition that i will take gifts not when i == 10, but when max_reached_level == 9 and then i lvlup for 9 AND GET NOTHING GOOD DAY SIR! but when i lvlup to 10 i take gift normaly, so that means that when i reached lvl 10, firstly this script get max_reached_level that equals previous lvl, and only then it value become equals to current lvl

May be i partially wrogn, but its works like that =)
YuhaBah is offline  
Old 11/13/2017, 13:59   #6666
 
thefear511's Avatar
 
elite*gold: 0
Join Date: Nov 2012
Posts: 943
Received Thanks: 257
Quote:
Originally Posted by YuhaBah View Post
It's not about gifts, how about the reason for the why this loop is working

UPDATE

I make little discover :
PHP Code:
 --local txtycurrent_xisland_number  
    local lv 
get_value"level" ) --lv now 10 
    local max_reached_level 
gv"max_reached_level" ) --max_reached_level NOW IS 9!!! But i dont know why =)
    
local state_code get_local_info() -- bla-bla-bla 
How i checked that? i just make condition that i will take gifts not when i == 10, but when max_reached_level == 9 and then i lvlup for 9 AND GET NOTHING GOOD DAY SIR! but when i lvlup to 10 i take gift normaly, so that means that when i reached lvl 10, firstly this script get max_reached_level that equals previous lvl, and only then it value become equals to current lvl

May be i partially wrogn, but its works like that =)
let me complete the puzzle then.
in gm-tools when you put your lvl 150 , it will be 151 instead. maybe thats why in the lua there's a +1
thefear511 is offline  
Old 11/13/2017, 14:28   #6667
 
elite*gold: 0
Join Date: Apr 2017
Posts: 109
Received Thanks: 9
Quote:
Originally Posted by thefear511 View Post
let me complete the puzzle then.
in gm-tools when you put your lvl 150 , it will be 151 instead. maybe thats why in the lua there's a +1
May be you add lvl but not set?) if you lvl 1 and add 150 lvl you will be 151, but of you set 150, you became 150
YuhaBah is offline  
Old 11/13/2017, 14:50   #6668
 
thefear511's Avatar
 
elite*gold: 0
Join Date: Nov 2012
Posts: 943
Received Thanks: 257
Quote:
Originally Posted by YuhaBah View Post
May be you add lvl but not set?) if you lvl 1 and add 150 lvl you will be 151, but of you set 150, you became 150
meh don't rlly wanna overthink to such thing it works and thats the important part :P good luck tho
thefear511 is offline  
Old 11/13/2017, 15:27   #6669
Moderator


 
ThunderNikk's Avatar
 
elite*gold: 1
Join Date: Dec 2012
Posts: 4,912
Received Thanks: 1,490
They do it so you can not continuously de level and level back up to get the same level reward.

That's why max reached level is in there so they know that you have already been by 10 and received the reward.
ThunderNikk is offline  
Thanks
1 User
Old 11/13/2017, 16:21   #6670
 
elite*gold: 0
Join Date: Jul 2013
Posts: 24
Received Thanks: 4
With the 9.4 release from the revolution team there is a problem with equipment and pet durability. It doesn't allow to be repaired to the maximum, could anyone help with this please.
Nooobee4 is offline  
Thanks
1 User
Old 11/13/2017, 19:09   #6671
 
elite*gold: 7
Join Date: Jul 2012
Posts: 41
Received Thanks: 4
9.4 Speed Limit

Have any of you experienced a limitation of movement speed in 9.4 servers / clients?
Im trying to balance some buffs on my server and every time i add any more than one speed buff i am slowed instead of moving faster
JohnnyGhost is offline  
Old 11/13/2017, 19:40   #6672
 
elite*gold: 0
Join Date: Apr 2017
Posts: 109
Received Thanks: 9
Can someone recommend a book or smth else for better understanding .rdb formats and working with files systems like rz client files?
YuhaBah is offline  
Old 11/13/2017, 20:56   #6673


 
Ghost Informatics's Avatar
 
elite*gold: 6190
Join Date: Sep 2014
Posts: 349
Received Thanks: 952
Quote:
Originally Posted by Nooobee4 View Post
With the 9.4 release from the revolution team there is a problem with equipment and pet durability. It doesn't allow to be repaired to the maximum, could anyone help with this please.
Show me a video or pic about the problem
Ghost Informatics is offline  
Old 11/13/2017, 22:43   #6674
 
elite*gold: 0
Join Date: May 2012
Posts: 1
Received Thanks: 0
Hi elitepvpers, i'm have problem, client crashing when open interface skill, inventory, on random time on 7.2 client arabic or other sframe, in laptop have more time, other players in this server have problems too, i'm not have ideas, you can help me?

laptop system
processor i7 3740QM
memory ddr3-1600 12gb
graphics geforce 635m

I'm try change resolution or other settings, clear inventory and create other character, update DirectX, VC Runtime but this not helped, client have RU locale and Windows-1251 encoding, checked PL EN DE client, no results
Server url: if need for checking
HappyEnd is offline  
Old 11/13/2017, 23:29   #6675
 
elite*gold: 0
Join Date: Jul 2013
Posts: 24
Received Thanks: 4
Quote:
Originally Posted by Ghost Informatics View Post
Show me a video or pic about the problem

I don't have enough reputation to post an image.

In the picture this is after clicking the "repair all" button. When I try to repair a pet with empty unique soul taming card and soul shifter it fails. (Using enhance window, but also tried repair window)
Nooobee4 is offline  
Reply

Tags
7.4, client, rappelz


Similar Threads Similar Threads
[Helping Topic] 24/7 Helping Services!
08/27/2008 - EO PServer Hosting - 31 Replies
stucked on anything while setuping your server? post your problem here and you will get answer as fast as possible better than spamming with posts :cool: first of all try reading Ahmedpotop's Pserver All thing guide. if your couldn't solve it out post your problem down here ""That includes PHP rankings pages / registrations pages / Status pages""



All times are GMT +1. The time now is 19:45.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.