Register for your free account! | Forgot your password?

You last visited: Today at 01:15

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

Advertisement



lil Costum HWAN Title Query

Discussion on lil Costum HWAN Title Query within the SRO Guides & Templates forum part of the Silkroad Online category.

Reply
 
Old   #1
 
IceAmStiel's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 1,058
Received Thanks: 1,118
Arrow lil Costum HWAN Title Query

PHP Code:
USE SRO_VT_SHARD
Declare @newHWANlevel varchar(64)
Declare @
blueORred int
Declare @ZerkDMG tinyint
Declare @CHwriting1 varchar(74)
Declare @
EUwriting1 varchar(74)
Declare @
newCHtitle varchar(74)
Declare @
newEUtitle varchar(74)


--
############################################ by Caipi
--############################################ Parameter which you can change!

SET @blueORred 1145127506 /* 1145127506 for blue, 0 for red Zerk*/
SET @ZerkDMG 50 /*e.g. for 50% more DMG; MAX = 255% change tinyint to int if you want more*/
SET @newCHtitle 'Elite'    /*new Chinese Title*/
SET @newEUtitle 'pvpers'    /*new European Title*/

--############################################ END
--############################################


SET @newHWANlevel = (SELECT MAX(HwanLevelFROM _RefHWANLevel)+1
SET 
@CHwriting1 'UIO_SECOND_HWAN_CH_NAME_LEVEL_'
SET @EUwriting1 'UIO_SECOND_HWAN_EU_NAME_LEVEL_'
INSERT INTO _RefHWANLevel (HwanLevel,ParamFourcc1,ParamValue1,ParamFourcc2,ParamValue2,ParamFourcc3,ParamValue3,ParamFourcc4,ParamValue4,ParamFourcc5,ParamValue5,AssocFileObj128,Title_CH70,Title_EU70VALUES (@newHWANlevel,1397769301,200,@blueORred,@ZerkDMG,0,0,0,0,0,0,'xxx',@CHwriting1+@newHWANlevel,@EUwriting1+@newHWANlevel);
print 
''
print 'Media/server_dep/silkroad/textdata/textuisystem.txt'
print '1    '+@CHwriting1+@newHWANlevel+'                            '+@newCHtitle
print '1    '+@EUwriting1+@newHWANlevel+'                            '+@newEUtitle
print ''
print 'Media/server_dep/silkroad/textdata/hwanleveldata.txt'
print @newHWANlevel+'    UIO_SECOND_HWAN_CH_NAME_LEVEL_'+@newHWANlevel+'    UIO_SECOND_HWAN_EU_NAME_LEVEL_'+@newHWANlevel 
Will throw also the path + the necessary pk2 lines out.
Change only the 4 values between the ## Häf phun


PHP Code:
USE SRO_VT_SHARD/--_INIT

Declare @CharNick varchar(64)
Declare @
Hwanlvl tinyint

SET 
@CharNick ''    --Your Ingame Nick
SET 
@Hwanlvl ''    --Your desired Hwan Title e.g'6'

/* Hwan Title Explanation:
CH '1'    Captain
CH '2'    General
CH '3'    Senior General
CH '4'    Chief General
CH '5'    Vice General Lord
CH '6'    General Lord
EU '1'    Knight
EU '2'    Baronet
EU '3'    Baron
EU '4'    Count
EU '5'    Marquis
EU '6'    Duke    */

UPDATE dbo._Char
SET HwanLevel 
= @Hwanlvl
WHERE CharName16 like 
@CharNick 
To simply use one of the just created titles.. ^^


For example with "Ò_ó"
IceAmStiel is offline  
Thanks
6 Users
Old 12/23/2011, 16:31   #2
 
elite*gold: 0
Join Date: Jun 2010
Posts: 13
Received Thanks: 1
can you explain more please ..
ArcherPrince is offline  
Old 12/28/2011, 10:11   #3
 
abdelbaser's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 11
Received Thanks: 1
Quote:
Originally Posted by ArcherPrince View Post
can you explain more please ..
+1
look i know how to use sql and i know how to use these codes but how i will inject them to media.pk2 or data.pk2 ??
abdelbaser is offline  
Old 01/03/2012, 00:46   #4
 
IceAmStiel's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 1,058
Received Thanks: 1,118
Quote:
Originally Posted by abdelbaser View Post
+1
look i know how to use sql and i know how to use these codes but how i will inject them to media.pk2 or data.pk2 ??
Simply run the query with your choosen values It should throw you the textpaths and the necessary lines out unter "Messages"

Media.pk2 etc..
IceAmStiel is offline  
Old 09/26/2012, 18:15   #5
 
elite*gold: 0
Join Date: Jun 2012
Posts: 67
Received Thanks: 4
thx bro
mmmhhh is offline  
Old 04/15/2013, 15:35   #6
 
elite*gold: 0
Join Date: Dec 2009
Posts: 9
Received Thanks: 1
hi it works perfect but now i added titel 30-32 and i dont see him in game...zerk is blue but no yellow name idk whats wrong...
another 29 works but 30-32 not....i hope some 1 can help me i change all in textuisys but no efekt...
totfliega2007 is offline  
Old 04/17/2013, 01:05   #7
 
elite*gold: 0
Join Date: Apr 2013
Posts: 174
Received Thanks: 44
Somethings wrong with ur media.pk2 probably.
Bloody Network is offline  
Reply

Tags
database, hwan, mssql, query, title


Similar Threads Similar Threads
Request how i can add HWAN To All server
12/13/2011 - SRO Private Server - 1 Replies
My Request is how i can add HWAN Lv 5 or 6 or 7 To all charcter in my server Like pvp server whene u Make New Acc And Creat New chracter u get Lv 110 with Lv 110 Zerk like chef General for ch or Count For EU ... i need a stored procedure for it so i need automatically set to 6 everytime a new character is created.. i hpe Guys u Understand me any help
Arena PvP Yu-Hwan
08/22/2010 - Metin2 Private Server - 0 Replies
Da der Fehler in der Musik-Arena-PvP-Yu Hwan. Arena funktioniert nicht. Nur GM die Arena betreten. Ein Spieler kann nicht geben, weil es ihn wirft, um die M1.
[WTS] Account including all 4 campaigns + Wisdom Title [3] + Treasure title [near 3]
09/06/2009 - Guild Wars Trading - 6 Replies
: Hi, I'm sellin an Account including all 3 campaigns & EOTN. It has no characters on it except an PvP Elementalist. There are some green items and materials on storage, and 11 golden rin relicts It's not plaync-bounded!! I'm open for offers. (ectos, zkeys, rare pets or rare items only) Contact: ..: 195759396
How edit topic title? New title.
09/01/2007 - Conquer Online 2 - 2 Replies
Since forum turned vbulletin, i cant edit topic title



All times are GMT +2. The time now is 01:15.


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