Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 05:24

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

Advertisement



Just a few points I need your help.

Discussion on Just a few points I need your help. within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old 05/12/2023, 21:08   #16
 
Masumichan's Avatar
 
elite*gold: 0
Join Date: Jul 2020
Posts: 195
Received Thanks: 87
Quote:
Originally Posted by YamatosDeath View Post
id number no change with new stats yes?
Spoken like a true Arab <3
Masumichan is offline  
Thanks
1 User
Old 05/13/2023, 05:07   #17
 
yosiemelo's Avatar
 
elite*gold: 0
Join Date: Apr 2017
Posts: 200
Received Thanks: 113
Quote:
Originally Posted by osomeloso View Post
How to know the item identified id what you have in the inventory. The id number change with the new stats yes?

Hello,

I noticed your question on the forum regarding item identification functions, and I'd like to provide you with a detailed explanation and usage guide for the code. This information should be helpful, especially for beginners.

Code:
function generate_random_items( _code, _preset, _count )
   for i = 1, _count do
      local item_handle = insert_item( _code, 1 )
      identify_item( item_handle, _preset )
   end
end

Firstly, let's discuss the generate_random_items function. This function is responsible for spawning random items with a specified code and identifying them using a preset ID. To use this function, you need to replace the _code parameter with the desired item code and the _preset parameter with the exact ID used for identification (which can be found in mixresources). Additionally, you should specify the number of items to be generated using the _count parameter.


Code:
function identify_process( item_id , amount , preset_id, used_item )
   local handle_list = get_item_handle_list(item_id)      ---handle list of selected item to identify
   local full_item_count = table.getn(handle_list)
   local amount2 = amount
   
   
   for i = 1, full_item_count do
      if find_item(used_item) >= 1 and amount2 >= 1 then
         if identify_item(handle_list[i],preset_id) == 1 then
            delete_item(get_item_handle(used_item),1)
            message(sconv("@90019369",'@%itemname%@',"@"..get_item_name_id(item_id)))
            amount2 = amount2 - 1
         end
      else
         message("No items for identifying left!")
         break
      end
   end
end
Now, let's focus on the identify_process function. This function is used to identify all items in your inventory with a specific ID, provided that they haven't been identified already. The function takes four parameters: item_id, amount, preset_id, and used_item. The item_id parameter should be set to the ID of the items you want to identify. The amount parameter is used to indicate the maximum number of items you want to identify. The preset_id parameter represents the ID used for identification, which can be found in mixresources. Lastly, the used_item parameter denotes the resource item that will be consumed during the identification process.

Once you have set up the parameters for identify_process, the function will retrieve a list of item handles from your inventory that match the specified item_id. It will then iterate through this list and check if there are enough used_item resources and remaining identification amount to proceed. If the conditions are met, it will identify the item with the given preset_id, consume one instance of the used_item, and display a success message. The process will continue until all the items have been identified or there are no more used_item resources or remaining identification amount. In case there are no more items left for identification or insufficient used_item resources, an appropriate message will be displayed.

I hope this explanation clarifies the functionality and usage of the item identification functions. If you have any further questions, feel free to ask.

Best regards,
YoSiem
yosiemelo is offline  
Thanks
1 User
Old 05/13/2023, 12:34   #18

 
CHlNAMAN's Avatar
 
elite*gold: 99
Join Date: Jun 2015
Posts: 289
Received Thanks: 114
YosiemeloGPT
CHlNAMAN is offline  
Old 05/13/2023, 12:42   #19
 
InkDevil's Avatar
 
elite*gold: 0
Join Date: Sep 2015
Posts: 603
Received Thanks: 1,201
Quote:
Originally Posted by yosiemelo View Post
Hello,

I noticed your question on the forum regarding item identification functions, and I'd like to provide you with a detailed explanation and usage guide for the code. This information should be helpful, especially for beginners.

Code:
function generate_random_items( _code, _preset, _count )
   for i = 1, _count do
      local item_handle = insert_item( _code, 1 )
      identify_item( item_handle, _preset )
   end
end

Firstly, let's discuss the generate_random_items function. This function is responsible for spawning random items with a specified code and identifying them using a preset ID. To use this function, you need to replace the _code parameter with the desired item code and the _preset parameter with the exact ID used for identification (which can be found in mixresources). Additionally, you should specify the number of items to be generated using the _count parameter.


Code:
function identify_process( item_id , amount , preset_id, used_item )
   local handle_list = get_item_handle_list(item_id)      ---handle list of selected item to identify
   local full_item_count = table.getn(handle_list)
   local amount2 = amount
   
   
   for i = 1, full_item_count do
      if find_item(used_item) >= 1 and amount2 >= 1 then
         if identify_item(handle_list[i],preset_id) == 1 then
            delete_item(get_item_handle(used_item),1)
            message(sconv("@90019369",'@%itemname%@',"@"..get_item_name_id(item_id)))
            amount2 = amount2 - 1
         end
      else
         message("No items for identifying left!")
         break
      end
   end
end
Now, let's focus on the identify_process function. This function is used to identify all items in your inventory with a specific ID, provided that they haven't been identified already. The function takes four parameters: item_id, amount, preset_id, and used_item. The item_id parameter should be set to the ID of the items you want to identify. The amount parameter is used to indicate the maximum number of items you want to identify. The preset_id parameter represents the ID used for identification, which can be found in mixresources. Lastly, the used_item parameter denotes the resource item that will be consumed during the identification process.

Once you have set up the parameters for identify_process, the function will retrieve a list of item handles from your inventory that match the specified item_id. It will then iterate through this list and check if there are enough used_item resources and remaining identification amount to proceed. If the conditions are met, it will identify the item with the given preset_id, consume one instance of the used_item, and display a success message. The process will continue until all the items have been identified or there are no more used_item resources or remaining identification amount. In case there are no more items left for identification or insufficient used_item resources, an appropriate message will be displayed.

I hope this explanation clarifies the functionality and usage of the item identification functions. If you have any further questions, feel free to ask.

Best regards,
YoSiem
Die zweite Funktion kommt mir sehr bekannt vor *hust*
But well explained ;-)
InkDevil is offline  
Old 05/13/2023, 15:35   #20
 
yosiemelo's Avatar
 
elite*gold: 0
Join Date: Apr 2017
Posts: 200
Received Thanks: 113
Quote:
Originally Posted by Armala View Post
YosiemeloGPT
Sure, I use Chat GPT for translation, that's why you're laughing at my English. I'm writing this text in Polish, and Chat GPT translates it better than Google (with more meaning), in my opinion.
The functions don't come from Chat GPT


Quote:
Originally Posted by InkDevil View Post
Die zweite Funktion kommt mir sehr bekannt vor *hust*
But well explained ;-)

joa Mir auch, für Bildungszwecke verwendet, haha
yosiemelo is offline  
Thanks
1 User
Old 05/15/2023, 11:23   #21
 
elite*gold: 0
Join Date: Oct 2022
Posts: 71
Received Thanks: 1
He wasn't messing with your English, he was messing with my English. I'm sorry! Thinking in Spanish and writing in English was not a good idea.
osomeloso is offline  
Old 05/15/2023, 11:27   #22
 
yosiemelo's Avatar
 
elite*gold: 0
Join Date: Apr 2017
Posts: 200
Received Thanks: 113
Quote:
Originally Posted by osomeloso View Post
He wasn't messing with your English, he was messing with my English. I'm sorry! Thinking in Spanish and writing in English was not a good idea.
Nah, I mean 'you all' xD. Many people laugh about my English skills.
yosiemelo is offline  
Old 05/15/2023, 18:37   #23
 
YamatosDeath's Avatar
 
elite*gold: 0
Join Date: Feb 2020
Posts: 59
Received Thanks: 69
Quote:
Originally Posted by yosiemelo View Post
Nah, I mean 'you all' xD. Many people laugh about my English skills.
noob English >
YamatosDeath is offline  
Reply


Similar Threads Similar Threads
[Trading] Have BTC need skrill - Just few euro small quick exchange
01/12/2020 - Cryptocurrency Trading - 1 Replies
Let me know ;)
Just need a few clarifications
08/19/2012 - Ragnarok Online - 1 Replies
Wow, It's been so long since I've logged in here, well anyway. I'm currently playing RO again (ahh the memories XD) and I tried my old custom bot (pretty much an OLD version of OpenKore with a built in VB GUI, just for keeps) to connect to OblivionRO server, it seems that a program called "Harmony" is preventing my config connection to the server, I keep receiving messages like "Packet Seed Halted, etc..". It looks like this harmony thing is kinda like a gameguard or whatever. So does...
I just got an acct, i need to know a few things...
07/26/2006 - Conquer Online 2 - 3 Replies
Umm.... i was wondering if any of you could tell me where i can find the hack page for this site.... I cant find where the page that tells u all the hacks this site has....plz tell how me how to get there or the link for the page.PLZ and TY!



All times are GMT +1. The time now is 05:25.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.