Register for your free account! | Forgot your password?

You last visited: Today at 21:10

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

Advertisement



Custom TypeID 4.

Discussion on Custom TypeID 4. within the SRO PServer Questions & Answers forum part of the SRO Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2020
Posts: 21
Received Thanks: 2
Custom TypeID 4.

Hello, first of all thank you so much for all the questions, answers and info that is stored in this forum, it has helped me alot.

My question is really simple, as the title says, I would like to know the steps or any tip/hint in how to create a custom typeid 4, and make it work. I know that the answer is not as simple as my question, but any guidance will help me. I already figured it out how to create the custom text, my problem is that when I right click the item, for example a return scroll nothing happen, I think I know that I have to hook the custom typeid 4 to something on the game server and the client to make it work, I'm not really an expert on this subject, this has been a learning experience for me, so don't be rude with me I'm just trying to learn new things.

Basically what I want to do is have a custom text for an scroll for example, instead of saying Sort of Item: Return Scroll, it says Sort Of Item: Awesome Item, and when I right click it, it works as a regular return scroll.

Thank you so much in advance to anybody who can help me with this.

P.D: Sorry for my english, it isn't my native language.
Vaasneht is offline  
Old 03/12/2021, 16:45   #2
 
elite*gold: 0
Join Date: Jan 2009
Posts: 314
Received Thanks: 685
item_grouping.txt has 2 sections. GROUPING_TID which assigns group names as Return Scroll by TID. But it also has GROUPING_CODENAME where you can define a specific item codename and assign a group name to that. Now I don't know if the GROUPING_CODENAME will override the GROUPING_TID if there already is but it might be worth a try. You could still use the original TID of the Return Scroll for your "Awesome Item" and retain it's functionally without going into the GameServer assembly and patching up the IGObj::IsTownPortal function to include your custom TID4.
DaxterSoul is offline  
Old 03/12/2021, 23:30   #3
 
elite*gold: 0
Join Date: Dec 2020
Posts: 21
Received Thanks: 2
Quote:
Originally Posted by DaxterSoul View Post
item_grouping.txt has 2 sections. GROUPING_TID which assigns group names as Return Scroll by TID. But it also has GROUPING_CODENAME where you can define a specific item codename and assign a group name to that. Now I don't know if the GROUPING_CODENAME will override the GROUPING_TID if there already is but it might be worth a try. You could still use the original TID of the Return Scroll for your "Awesome Item" and retain it's functionally without going into the GameServer assembly and patching up the IGObj::IsTownPortal function to include your custom TID4.
I’ll give it a try and I’ll let you know, thank you for the tips.

EDIT: @ Dude you are a genius, this is exactly what I wanted to do, as you said, creating a new SN_ITEM_TOOLTIP_GROUPING in textdata_object and, assigning that custom item tooltip grouping to an existing item in GROUPING_CODENAME, override the text and the item is functional. Also, other items with the same TID doesn't change, they keep the original text, like for example Return Scroll. Thank you so much for your tip and help, I really appreciate it.

EDIT 2: If a moderator wants to close this thread, you are more than welcome to do it.
Vaasneht is offline  
Reply


Similar Threads Similar Threads
Perfect Lapisia TypeID
06/12/2016 - Shaiya PServer Development - 0 Replies
perfect lapisia typeid works for me but then it also makes all items able to enchant to 49 any idea how to fix?
[NEED HELP]Error Char Load : BankItem type=0, typeid=0
03/31/2015 - Shaiya PServer Development - 2 Replies
Does anyone know why I got this error in ps_session and ps_game logs? PS_Session2015-03-28 20:01:39 cmd gemext on 2015-03-30 20:59:30 Error Char Load : BankItem type=0, typeid=0 2015-03-30 21:00:27 Error Char Load : BankItem type=0, typeid=0 2015-03-30 21:01:44 Error Char Load : BankItem type=0, typeid=0 2015-03-30 21:03:09 Error Char Load : BankItem type=0, typeid=0
Error Char Load : BankItem type=0, typeid=0
12/06/2013 - Shaiya - 1 Replies
delete
[BETA]Beta-Max Online ~ 120 CAP ~ D13 ~ Custom Events ~ Custom Quests ~ Custom Areas
03/25/2012 - SRO PServer Advertising - 109 Replies
Hello there, I would like to announce the BETA opening of Astro Server, We are here for the community not for competition. We don't care if we are #1 or #1001. The BETA will last one week, to find any small bugs that may still exist. During this time users will receive 5000 Wonga as soon as you register this is part of the BETA test. Also users will be rewarded for helping when we go live, Which you can find more information on this at the forum. Please be aware after the BETA ends...



All times are GMT +1. The time now is 21:11.


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.