Jump to content

Recommended Posts

Posted (edited)

Question...

Would the code stop working if I replace the "trade" related works with "market" ?

Depends in where exactly you want "market" to be displayed. You could just change it in msg_athena.conf.

956: %s :Trading: %s

to

956: %s :Market: %s

And it will display same as in the picture in the first post. Just with the word "Market" instead of Trading.

Now if you want to replace everysingle code, which is pointless since you're not gonna display the code. You can simply edit it, just make sure everything fits well ;)

Edited by Noah
  • Upvote 1
Posted

Woah! i've been looking for this since, eA doesn't have like this? or might i'm wrong? looking forward in this Thread.

Very nice! i'll use it for my 'Upcoming'. thanks for this.

Regards,

Mindless

Posted
eA doesn't have like this? or might i'm wrong? looking forward in this Thread.

O_o I think it does as it explains in the #1 post (@main) it's just an exact replica, just that it displays "trading" instead of "main", although you have to activate @main before using @trading, so what I did was just edit @main since not many servers really use it. I made my own edit, turned out very nice ;) I'll may post it after a few days.

  • 1 month later...
  • 3 weeks later...
Posted

I made two channels, Support and Trading, and when I whisper to both of them it isn't the same as Main. In this case whispering to both support and trading respectively would bring up the PM box. Is there anyway to fix this?

  • 4 weeks later...
  • 5 months later...
Posted

Hi there :)

I applied the patch and i got lot's of errors when compiling. here it is


3>c:\ragnarok files\rathena\src\char\inter.c(740): error C2181: illegal else without matching if
1>c:\ragnarok files\rathena\src\map\clif.c(5536): error C2084: function 'void clif_TradingChatMessage(const char *)' already has a body
1>          c:\ragnarok files\rathena\src\map\clif.h(565) : see previous definition of 'clif_TradingChatMessage'
3>c:\ragnarok files\rathena\src\char\inter.c(742): error C2181: illegal else without matching if

how to fix these errors ?

SlashGeeGee

Posted (edited)

Hi there , maybe i can help you with something , i add this mod manually , and got some bug , but now fixed :)

Here you go

Open src>char_sql>inter.c

Find :

else if(!strcmpi(w1,"main_chat_nick"))
  safestrncpy(main_chat_nick, w2, sizeof(main_chat_nick));

Add Below :

else if(!strcmpi(w1,"trading_chat_nick"))
  safestrncpy(trading_chat_nick, w2, sizeof(trading_chat_nick));

From darkmeistersp , "Repeat the steps 7, 8 and 9 with the files char.c, inter.c and inter.h that are located in src/char_sql/"

but from char_sql/inter.c its not the same with char/inter.c

*darkmeistersp : sorry if im wrong , just helping because already tried and working , CMIIW

*btw nice script :P

Edited by playgron
  • Upvote 1
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...