Jump to content
AnnieRuru

dispbottomcolor

Recommended Posts

since our developers are ... not implementing dispbottom and message with colors

http://herc.ws/board/topic/3899-suggestion-displaybottom-message-colors/?p=28345

I think I just make a release for this

 

Download: 1.2

Plugin

 

tested with

prontera,162,180,5	script	asdf	100,{	dispbottomcolor "test color", 0xFF0000;	dispbottomcolor "test color", 0x00FF00;	dispbottomcolor "test color", 0x0000FF;	dispbottomcolor "test color", 0xFFFFFF, 2000000;	end;}
PS: there is a reason that this couldn't be in the official

because hercules' clif->colormes is ... badly coded ...

changing that function also means change a lot of lines having clif->colormes, which is all over the places

 

 

 

1.0

plugin

patch

 

1.1

plugin

patch

- fix BBGGRR into RRGGBB

 

1.2

Plugin

- update to latest format

- also added optional parameter for account ID

 

Edited by AnnieRuru

Share this post


Link to post
Share on other sites

Does it well for patched in rathena?

Because I also think this dispbottomcolor is very useful !!!

 

if I recall correctly, rAthena already supports color parameter in the default dispbottom script command

Share this post


Link to post
Share on other sites

no, rathena doesn't have dispbottomcolor, or dispbottom having optional parameter yet

https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L3765

the only clif_colormes inside rathenasrcmapscript.c is *openauction

 

I'm still actively comply battleground script request on rathena board

if they implement this, sure I'll know

 

by the way, rathena colormes only has RRGGBB reverse bug,

the code looks quite clean for them, I don't see a reason why they can't do it right now

 

Download for rAthena users

Share this post


Link to post
Share on other sites

no, rathena doesn't have dispbottomcolor, or dispbottom having optional parameter yet

https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L3765

the only clif_colormes inside rathenasrcmapscript.c is *openauction

 

I'm still actively comply battleground script request on rathena board

if they implement this, sure I'll know

 

by the way, rathena colormes only has RRGGBB reverse bug,

the code looks quite clean for them, I don't see a reason why they can't do it right now

 

Download for rAthena users

 

Thanks. It is very great!!!

Share this post


Link to post
Share on other sites

Hey @@AnnieRuru This is awsome!!

 

I'm using this src modification, and I am very pleased about the result...

 

but I was thinking is possible to replace the normal "dispbottom" to "dispobottomcolor" ... I guess yes...

 

but the point is:

 

I wanna know how I could make the parameter <color> an optional parameter, if I write without a parameter it would auto-fill with a default color!!

 

is it possible??

 

(I'm sorry about this question, but I'm not good with source!!)

 

**Apollogies about my english!!

Share this post


Link to post
Share on other sites

Hey guys!!

 

I'm bringin here, the source modification I wanted:

 

a guy from the Cronus board made this,

 

It's will change the default dispbottom to a dispbottom color, with a optional parameter!!

 

Example:

 

dispbottom "Hello everyone!!"; //Displays a message on default color
dispbottom "I wanted this so bad!",0xFF1493 //Displays a pink message

Link to patch

 

I don't know if you can apply dis .patch in your Hercules emulator, I think you should apply this manually!!

 

**Sorry for my english!!

 

And thanks AnnieRuru, the SlexFire (who made's this modification) has wrote credits to you!!

Share this post


Link to post
Share on other sites

 

Hey guys!!

I'm bringin here, the source modification I wanted:

a guy from the Cronus board made this,

It's will change the default dispbottom to a dispbottom color, with a optional parameter!!

Example:

dispbottom "Hello everyone!!"; //Displays a message on default color
dispbottom "I wanted this so bad!",0xFF1493 //Displays a pink message

Link to patch

I don't know if you can apply dis .patch in your Hercules emulator, I think you should apply this manually!!

**Sorry for my english!!

And thanks AnnieRuru, the SlexFire (who made's this modification) has wrote credits to you!!

We had this done a while ago, check my signature.

And yours code is really messy.

Edited by Oxxy

Share this post


Link to post
Share on other sites

 

Hey guys!!

 

I'm bringin here, the source modification I wanted:

 

a guy from the Cronus board made this,

 

It's will change the default dispbottom to a dispbottom color, with a optional parameter!!

 

Example:

dispbottom "Hello everyone!!"; //Displays a message on default color
dispbottom "I wanted this so bad!",0xFF1493 //Displays a pink message

Link to patch

 

I don't know if you can apply dis .patch in your Hercules emulator, I think you should apply this manually!!

 

**Sorry for my english!!

 

And thanks AnnieRuru, the SlexFire (who made's this modification) has wrote credits to you!!

We had this done a while ago, check my signature.

And yours code is really messy.

 

First: This code isn't mine.

Second: I don't know why did think this messy!! (I guess you don't know what is a .dff!!)

Third: The deference between this code and yours (or even the AnnieRuru's code) is:

This is a modification from the original "dispbottom", that you'll can use the paramter color as a optional paramter!!

=/

 

Hmm...

another thing:

 

I had seen your topic first, and I tryied to apply your modification but I got some error in the log and used the fuction!! (that's worked, but there was some errors)

And I appreciated this one a lot, because you just need to modificate a single file, while your own you have to change many!!

 

So that's my opinion!! ;)

Share this post


Link to post
Share on other sites

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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.