Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 08:21

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

 

How to edit items in the Random Box.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2012
Posts: 37
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   #2
 
elite*gold: 0
Join Date: Nov 2011
Posts: 980
Received Thanks: 1,007
Opt_var0_1 will be a dropgroup (-xxxxxx)


edit this dropgroup like you want and done


TheOnlyOneRaskim is offline  
Old   #3
 
elite*gold: 0
Join Date: Jul 2012
Posts: 37
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   #4
 
elite*gold: 30
Join Date: Mar 2012
Posts: 630
Received Thanks: 282
another way, you can do it using script_text


mongreldogg is offline  
Old   #5
 
elite*gold: 0
Join Date: Jul 2012
Posts: 37
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   #6
 
elite*gold: 30
Join Date: Mar 2012
Posts: 630
Received Thanks: 282
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  
Old   #7
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,570
Received Thanks: 1,154
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   #8
 
elite*gold: 30
Join Date: Mar 2012
Posts: 630
Received Thanks: 282
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   #9
 
elite*gold: 0
Join Date: Oct 2010
Posts: 2,557
Received Thanks: 2,412
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   #10
 
elite*gold: 0
Join Date: Feb 2013
Posts: 18
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



« Previous Thread | Next Thread »

Similar Threads
| 1$ Store | RANDOM BOX | SALE ITEMS |
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...
1 Replies - WarRock
Steam> Random Items
Hi, ich verkaufe einen assist(lv28) mit paar items: CS: Frestyle Cap(M) Snowboarder Suit(M) Hands(M) Casual Shoes(M) Teageuk Cloak Baby...
5 Replies - Fly For Fun Trading
WTS Various Random Items
I'm quitting the game and want to sell all my stuff... WTS Many Various Items You Might Need!
1 Replies - Dekaron Trading
Random Parrie Wind edit
meh sry for double post
0 Replies - CO2 Weapon, Armor, Effects & Interface edits



All times are GMT +2. The time now is 08:21.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.