cq_action compose gm message?

12/29/2009 04:39 Eurion#16
Yes, typically any strings pulled by the msg will be %s and pet names would be a string value.
12/29/2009 04:53 hio77#17
Quote:
Originally Posted by Knight^Hawk View Post
found where you put the msg but how do get the players name and pet name and pet star. ive tried %user_name


****edit****
hio77 add me to msn please [Only registered and activated users can see links. Click Here To Register...]
added you but msn dont think you have msn... msn:[Only registered and activated users can see links. Click Here To Register...]

Quote:
Originally Posted by Eurion View Post
Strings are usually %s

Numbers are usually %d
still the problem of working which msg it is...

btw... my keyboard is broke ... onscreen keyboard sucks ass
12/29/2009 05:02 Eurion#18
Quote:
Originally Posted by hio77 View Post
still the problem of working which msg it is...

btw... my keyboard is broke ... onscreen keyboard sucks ass
It's pretty simple.

1. When that message pops up, check your chat logs, get the messed up text(can't remember the correct word right now)

2. Go to [Only registered and activated users can see links. Click Here To Register...] Credits to Forcer I believe (If I'm wrong my apologies)

3. Once you get the Chinese for it, then search for part of the sentence making sure it only occurs once.

4. Hex the message to what you want.

5. Save it, make sure you make a backup of your original just in case.

6. Restart your server, and check out your handy work.

Simple once you figure out what is what. The pain comes when you need to find the hex value of the letters, but luckily there are websites and applications that will help you there.
12/29/2009 05:06 hio77#19
Quote:
Originally Posted by Eurion View Post
It's pretty simple.

1. When that message pops up, check your chat logs, get the messed up text(can't remember the correct word right now)

2. Go to [Only registered and activated users can see links. Click Here To Register...] Credits to Forcer I believe (If I'm wrong my apologies)

3. Once you get the Chinese for it, then search for part of the sentence making sure it only occurs once.

4. Hex the message to what you want.

5. Save it, make sure you make a backup of your original just in case.

6. Restart your server, and check out your handy work.

Simple once you figure out what is what. The pain comes when you need to find the hex value of the letters, but luckily there are websites and applications that will help you there.
last i checked dropped items for example dont get logged
12/29/2009 05:14 Eurion#20
Everything gets logged into your clients chat logs.
12/29/2009 05:45 hio77#21
Quote:
Originally Posted by Eurion View Post
Everything gets logged into your clients chat logs.
im stupid lol.....

Code:
[GM]SYSTEM speaks to All: Ô¶¹ÅµÄÃËÔ¼ÔÚÕâ¿ÌÓ¦Ñ飬ΰ´óµÄÃ÷¹â¼´½«À´ÁÙ£¡.:Wolverine:.µÄ»ÃÊÞCarrotTop£¬¾*¹ý²»Ð¸µÄ³¢ÊÔŬÁ¦£¬ÖÕÓڳɹ¦½«Æ·ÖÊÌáÉýΪ¼«Æ·53ÐÇ£¡[17:31]
so..... the line is

Code:
Ô¶¹ÅµÄÃËÔ¼ÔÚÕâ¿ÌÓ¦Ñ飬ΰ´óµÄÃ÷¹â¼´½«À´ÁÙ£¡%sµÄ»ÃÊÞ%s£¬¾*¹ý²»Ð¸µÄ³¢ÊÔŬÁ¦£¬ÖÕÓڳɹ¦½«Æ·ÖÊÌáÉýΪ¼«Æ·%dÐÇ£¡
or

Code:
远古的盟约在这刻应验,伟大的明光即将来临!%s的幻兽%s,经过不懈的尝试努力,终于成功将品质提升为极品%d星!
which translates to

Code:
Ancient covenant fulfilled in this moment, the great Ming-coming! % s of the Huanshou% s, and make unremitting efforts to try to finally successfully upgraded the quality of Need for% d stars!
soooooo for finding this search > find text > (this is the first part of the string and only occurrence of it)
Quote:
Ô¶¹ÅµÄÃËÔ¼ÔÚÕâ¿ÌÓ¦Ñ飬ΰ´óµÄÃ÷¹â¼´½«À´ÁÙ£¡
now rewrite in own words

and theres that line done
12/29/2009 06:58 Knight^Hawk#22
you got it hio77 lol
12/29/2009 07:27 hio77#23
Quote:
Originally Posted by Knight^Hawk View Post
you got it hio77 lol
yeh thats a whole load easier than my way