dispbottomcolor

AnnieRuru

~~Cute~Cute~Scripter~~
Messages
1,677
Points
0
Location
your next door ~
Discord
AnnieRuru#1609
Github
AnnieRuru
Emulator
Client Version
2019-05-30aRagexeRE
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 officialbecause 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
 
Last edited by a moderator:
Thanks for this AnnieRuru and nice to see you around again. 
default_smile.png


 
LOL, when I saw the colorful message I thought it works

fixed in 1.1

 
Does it well for patched in rathena?

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

 
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

 
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

 
Last edited by a moderator:
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!!!

 
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!!

 
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
Code:
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!!

 
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
Code:
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.

 
Last edited by a moderator:
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
Code:
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!!
default_wink.png


 
Back
Top