Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 17:01

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

Advertisement



How to edit items in the Random Box.

Discussion on How to edit items in the Random Box. within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2012
Posts: 46
Received Thanks: 0
How to edit items in the Random Box.

Is it possible to edit items which are including in the Random Box(ID:2000520)?

I want to get the items such as Master Helms or Weapons randomly from the Random Box but I don't know how to edit the containing items. Please someone help me. Thank you.
hiderian is offline  
Old 02/03/2013, 07:31   #2
 
TheOnlyOneRaskim's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 978
Received Thanks: 1,011
Opt_var0_1 will be a dropgroup (-xxxxxx)


edit this dropgroup like you want and done
TheOnlyOneRaskim is offline  
Old 02/03/2013, 08:24   #3
 
elite*gold: 0
Join Date: Jul 2012
Posts: 46
Received Thanks: 0
Quote:
Originally Posted by TheOnlyOneRaskim View Post
Opt_var0_1 will be a dropgroup (-xxxxxx)


edit this dropgroup like you want and done
Thank you very much. I solved it!!
hiderian is offline  
Old 02/03/2013, 11:28   #4
 
mongreldogg's Avatar
 
elite*gold: 30
Join Date: Mar 2012
Posts: 634
Received Thanks: 297
another way, you can do it using script_text
mongreldogg is offline  
Old 02/03/2013, 16:06   #5
 
elite*gold: 0
Join Date: Jul 2012
Posts: 46
Received Thanks: 0
Quote:
Originally Posted by mongreldogg View Post
another way, you can do it using script_text
I don't know how to make the lua file about script_text very well so I think I won't use that way, sorry...
But anyway, thank you very much for your help.
hiderian is offline  
Old 02/03/2013, 16:39   #6
 
mongreldogg's Avatar
 
elite*gold: 30
Join Date: Mar 2012
Posts: 634
Received Thanks: 297
Quote:
Originally Posted by hiderian View Post
I don't know how to make the lua file about script_text very well so I think I won't use that way, sorry...
But anyway, thank you very much for your help.
no problem.
u can just declare new function
in any place in yr lua scripts
and then make sql query
easier=)
mongreldogg is offline  
Thanks
1 User
Old 02/03/2013, 16:56   #7
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,606
Received Thanks: 1,210
Quote:
Originally Posted by mongreldogg View Post
no problem.
u can just declare new function
in any place in yr lua scripts
and then make sql query
easier=)
And you have to adjust the item_use_flag, remove the dropgroup from the opt_vars, create a script function that will randomly give one item...yes it's much easier

I think it's easier to use one sql query to adjust the drop group instead of updating item resource + creating a new script function

but if you want to create an existing function new your script should look like this:

function give_out_item()
local itemarray = {itemid1,itemid2,itemid3,itemid4...}
local pointer = math.random(1,itemarraycount)
insert_item(itemarray[pointer],1,0,0,2)
end

But it's easier to modify the dropgroud.
c1ph3r is offline  
Old 02/03/2013, 19:07   #8
 
mongreldogg's Avatar
 
elite*gold: 30
Join Date: Mar 2012
Posts: 634
Received Thanks: 297
Quote:
Originally Posted by c1ph3r View Post
And you have to adjust the item_use_flag, remove the dropgroup from the opt_vars, create a script function that will randomly give one item...yes it's much easier

I think it's easier to use one sql query to adjust the drop group instead of updating item resource + creating a new script function

but if you want to create an existing function new your script should look like this:

function give_out_item()
local itemarray = {itemid1,itemid2,itemid3,itemid4...}
local pointer = math.random(1,itemarraycount)
insert_item(itemarray[pointer],1,0,0,2)
end

But it's easier to modify the dropgroud.
SUPERMEGATROLL here xD
right u are. it may be harder to write script then change a couple of rows.
another way, u must know how to make it changing a couple of rows. if u dont - u can make it by scripting.
ive just showed another way. and now he can use it not just with randombox.
but guess, when i had no skills in managing rappelz database, i was doing everything by scripts=) much easier to understand by urself if u dont have someone to ask howto.
P.S. hiderian nevermind, we are just showoff rappelz devs=)
mongreldogg is offline  
Thanks
1 User
Old 02/03/2013, 19:50   #9
 
elite*gold: 0
Join Date: Oct 2010
Posts: 2,555
Received Thanks: 2,460
One thing I learned in my times using Linux was to never circumvent natural procedure (installing things outside of apt for instance) because it always resulted in clutter or instability. I think what cipher was trying to say is: it's always best to do things in their natural way.
ismokedrow is offline  
Old 12/02/2013, 08:09   #10
 
elite*gold: 0
Join Date: Feb 2013
Posts: 21
Received Thanks: 0
Hi there.
I changed items inside of creature random box with lua files according to mongreldogg's instruction.

It successfully changed but when I used the creature random box I'll get the sealed creature and "1 rupee"...

Why I'll get 1 rupee? How can I remove it? I don't need 1 rupee...

Anyway, I edited like this.

item_use_flag 1090552908 to 0
opt_var1_0 -2000132.00 to 0
script_text to test()

Somebody help me plaese.
mevius is offline  
Reply


Similar Threads Similar Threads
| 1$ Store | RANDOM BOX | SALE ITEMS |
05/03/2011 - WarRock - 1 Replies
Hallo Community, es gibt eine random box für 75 G1 1$ Store: Alle 6sloth px items, crosshairs and 2nd sloth weapons for 80 G1 RANDOM BOX http://www.gamersfirst.com/_img/products/en/1280. jpg FAMAS G2 Silencer (60 Days) • AW50F (3 Days)
Steam> Random Items
03/29/2011 - Flyff Trading - 5 Replies
Hi, ich verkaufe einen assist(lv28) mit paar items: CS: Frestyle Cap(M) Snowboarder Suit(M) Hands(M) Casual Shoes(M) Teageuk Cloak Baby Cobra
WTS Various Random Items
06/09/2010 - Dekaron Trading - 1 Replies
I'm quitting the game and want to sell all my stuff... WTS Many Various Items You Might Need!
Random Parrie Wind edit
08/08/2009 - CO2 Weapon, Armor, Effects & Interface edits - 0 Replies
meh sry for double post



All times are GMT +1. The time now is 17:02.


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.