[Info] 9.4 GS-Commands + Description

08/10/2020 16:39 Hatrick_#16
get_handle_value(player_handle,type)
ghv(player_handel,type)

this two function are same as gv / get_value but instead of character name you insert character handle

example : gv('gold','player_name') == ghv('player_handle','gold')
03/11/2021 20:14 bodzioelite#17
Code:
pick_item_in_drop_group()
Parameters for this command are ID's for item drop groups.

This command return the ID of one item ( random pick ) in specified drop group.

example usage if this command:

Code:
local x=pick_item_in_drop_group(123456)
insert_item(x)
09/14/2021 22:24 InkDevil#18
Quote:
Originally Posted by bodzioelite View Post
Code:
pick_item_in_drop_group()
Parameters for this command are ID's for item drop groups.

This command return the ID of one item ( random pick ) in specified drop group.

example usage if this command:

Code:
local x=pick_item_in_drop_group(123456)
insert_item(x)
Done. Sry for heavy delay...
_______________________________________


All available attribute-names you can get/set via gv() sv()
( taken from sourcecode by @[Only registered and activated users can see links. Click Here To Register...] ):
06/05/2023 03:15 tanos77#19
good, good, I'm having this problem when I enter an item, it comes out as [Undefined] but if I use the philosopher's scroll, it can recover the item with the level and enchantment that I entered. Example: /run insert_item(3100032,1,25,10,2); but not so with the next item. /run insert_item(601100449,1,25,10,2) This, no matter how much you place the scroll, does not identify it.
I was given the following command. /run insert_identify_item(601100449,1) there I get it to the item, but at lvl 1. There is no way to leave it with the attributes of the first command. I attach a photo [Only registered and activated users can see links. Click Here To Register...]
06/05/2023 15:28 yosiemelo#20
Quote:
Originally Posted by tanos77 View Post
good, good, I'm having this problem when I enter an item, it comes out as [Undefined] but if I use the philosopher's scroll, it can recover the item with the level and enchantment that I entered. Example: /run insert_item(3100032,1,25,10,2); but not so with the next item. /run insert_item(601100449,1,25,10,2) This, no matter how much you place the scroll, does not identify it.
I was given the following command. /run insert_identify_item(601100449,1) there I get it to the item, but at lvl 1. There is no way to leave it with the attributes of the first command. I attach a photo [Only registered and activated users can see links. Click Here To Register...]
Because with the scroll you can only identify armor from ParaelWorld. Then, when you upgrade those armors to nusy/flumini/inferno/reviac, the item ID changes, but the effect from using the scroll remains. However, if you want to be able to do it on reviac, etc., you simply need to add the appropriate lines in mixresource, although I don't recommend it. It's better to simply spawn and revive the PW armor in vanilla, and then upgrade it through an NPC.

If you need a Lua script that upgrades your equipment to the level of reviac or any other rank for free, please message me on Discord.
06/05/2023 15:37 InkDevil#21
Quote:
Originally Posted by tanos77 View Post
good, good, I'm having this problem when I enter an item, it comes out as [Undefined] but if I use the philosopher's scroll, it can recover the item with the level and enchantment that I entered. Example: /run insert_item(3100032,1,25,10,2); but not so with the next item. /run insert_item(601100449,1,25,10,2) This, no matter how much you place the scroll, does not identify it.
I was given the following command. /run insert_identify_item(601100449,1) there I get it to the item, but at lvl 1. There is no way to leave it with the attributes of the first command. I attach a photo [Only registered and activated users can see links. Click Here To Register...]
In general this is rather a question to be asked separately.
But let me give you a few information:

1. Reviac Equipment isn't supposed to be combined with a Philosopher's Scroll
- if you want it to work with it, then you need to add an entry in MixResource.
In this case you can simply check one of the Distorted Space Armors.

2. If you want to stay adding it identified in your inventory, you can simply add enhance & level to your arguments of your insert_identify_item() function and use those values in your inner insert_item() function.
There are several possible ways to do what you want, but in all cases I'd need to see your insert_identify_item function to preserve its current ability to work.


Edit: YoSiem answered faster than me xD
06/05/2023 16:26 yosiemelo#22
Quote:
Originally Posted by InkDevil View Post
In general this is rather a question to be asked separately.
But let me give you a few information:

1. Reviac Equipment isn't supposed to be combined with a Philosopher's Scroll
- if you want it to work with it, then you need to add an entry in MixResource.
In this case you can simply check one of the Distorted Space Armors.

2. If you want to stay adding it identified in your inventory, you can simply add enhance & level to your arguments of your insert_identify_item() function and use those values in your inner insert_item() function.
There are several possible ways to do what you want, but in all cases I'd need to see your insert_identify_item function to preserve its current ability to work.


Edit: YoSiem answered faster than me xD

YoSiem > Ink ez
06/26/2023 22:26 hassuny#23
thank you very much amazing job
06/27/2023 09:10 osomeloso#24
Quote:
Originally Posted by InkDevil View Post
In general this is rather a question to be asked separately.
But let me give you a few information:

1. Reviac Equipment isn't supposed to be combined with a Philosopher's Scroll
- if you want it to work with it, then you need to add an entry in MixResource.
In this case you can simply check one of the Distorted Space Armors.

2. If you want to stay adding it identified in your inventory, you can simply add enhance & level to your arguments of your insert_identify_item() function and use those values in your inner insert_item() function.
There are several possible ways to do what you want, but in all cases I'd need to see your insert_identify_item function to preserve its current ability to work.


Edit: YoSiem answered faster than me xD
Ohhh ty vm now I can try identified the amors from another private servers for my personal server!
07/03/2023 10:53 osomeloso#25
Quote:
Originally Posted by InkDevil View Post
In general this is rather a question to be asked separately.
But let me give you a few information:

1. Reviac Equipment isn't supposed to be combined with a Philosopher's Scroll
- if you want it to work with it, then you need to add an entry in MixResource.
In this case you can simply check one of the Distorted Space Armors.

2. If you want to stay adding it identified in your inventory, you can simply add enhance & level to your arguments of your insert_identify_item() function and use those values in your inner insert_item() function.
There are several possible ways to do what you want, but in all cases I'd need to see your insert_identify_item function to preserve its current ability to work.


Edit: YoSiem answered faster than me xD
Do you need to export te mixresource.rdb to the resource folder from the game? I try adding the line to the bbdd and don't work
07/03/2023 17:51 yosiemelo#26
Quote:
Originally Posted by osomeloso View Post
Do you need to export te mixresource.rdb to the resource folder from the game? I try adding the line to the bbdd and don't work
no, when you added that to db than restart server on put in server console
#refresh('mix')
07/03/2023 19:13 osomeloso#27
Well, finally this work coping the hashed mixresource to the resource client folder.
Now i have another question
With test and error I can see the RandomItemPresetResource has the extra stats what you get when you identify a distorted gear.
My question is where is the Option_id_xx for creating new stats?
Im off with this, pls help!!!!
12/18/2023 05:00 Lionsgate222#28
run commands dont work, any suggestion to fix?
12/18/2023 12:00 ThunderNikk#29
Quote:
Originally Posted by Lionsgate222 View Post
run commands dont work, any suggestion to fix?
Does the character running them have GM permission of 100 and are you running them in the game chat window?
12/18/2023 15:37 Lionsgate222#30
Quote:
Originally Posted by ThunderNikk View Post
Does the character running them have GM permission of 100 and are you running them in the game chat window?
Yes