Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ ROM
➜ Compiling the server
➜ color (something we all want)
|
color (something we all want)
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Syneris
(6 posts) Bio
|
| Date
| Mon 28 May 2001 08:13 AM (UTC) |
| Message
| i manuall added the lope color patch v2.0
it compiles with many warnings in comm.c
warning C4129: 'e' : unrecognized character escape sequence
While running the server i get many bugs
BUG: Act: bad code 36.
this seems to happen whenever a mob, player or object is
displayed. here is an example of when i get the bug
player1 says hi and it displays
e[0;32mYou say 'e[1;32m <@@@> Te[0;32m'e[0m
player2 sees <@@@> n says ' <@@@> T'
the <@@@> seems to trigger the bug. once for each
time <@@@> is displayed.
there is no color. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Mon 28 May 2001 08:45 PM (UTC) |
| Message
| Can you give me the URL of the patch you used?
It seems to me that your problem is the \e problem, as it is essential for colour to work that this particular character is sent properly (it is the "escape" character).
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Syneris
(6 posts) Bio
|
| Date
| Reply #2 on Tue 29 May 2001 10:09 AM (UTC) |
| Message
| http://darkoth.kyndig.com/Code/colour_V2.0.tar.gz
using the file patch_rom24_colour2
patching to basic rom24 source code (windows)
repatched a fresh copy and that is still the
only problem it is having compiling
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Wed 30 May 2001 11:44 PM (UTC) |
| Message
| The Microsoft compiler doesn't recognise the \e sequence as "escape".
You need to do a change-all from:
\e
to
\x1B
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Syneris
(6 posts) Bio
|
| Date
| Reply #4 on Fri 01 Jun 2001 11:47 PM (UTC) |
| Message
| thanks, that got color working.
still having the <@@@> problem
think it has to do with the $n and other $
for mobs/players/objs etc
the compiler showed no errors or warnings
when i built | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #5 on Sun 03 Jun 2001 10:26 PM (UTC) |
| Message
| | It's hard to say for me. Debugging other people's patches goes a bit outside the scope of what I am trying to offer on this forum, but maybe someone else knows the answer. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
20,619 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top