Raised This Month: $12 Target: $400
 3% 

[scrollmsg.sma] run time error


  
 
 
Thread Tools Display Modes
Author Message
BoK | Krazy
Member
Join Date: Dec 2005
Location: Dayton, OH
Old 04-10-2006 , 21:21   [scrollmsg.sma] run time error
#1

I just recently installed AMX Mod X 1.71 and Metamod-P 1.19p28.
I am running counter-strike 1.6 on a linux server.

I am getting this error in my log files:
Code:
L 04/10/2006 - 20:11:17: replace() buffer not big enough (384>=380)
L 04/10/2006 - 20:11:17: [AMXX] Displaying debug trace (plugin "scrollmsg.amxx")
L 04/10/2006 - 20:11:17: [AMXX] Run time error 10: native error (native "replace")
L 04/10/2006 - 20:11:17: [AMXX]    [0] scrollmsg.sma::setMessage (line 98)
I think there maybe a bug in the scrollmsg plugin if I am getting that.
__________________
BoK | Krazy is offline
Send a message via AIM to BoK | Krazy
BAILOPAN
Join Date: Jan 2004
Old 04-10-2006 , 21:47  
#2

What is your scrollmsg set to?
__________________
egg
BAILOPAN is offline
BoK | Krazy
Member
Join Date: Dec 2005
Location: Dayton, OH
Old 04-10-2006 , 22:12  
#3

This is what my scroll messages are set to in my amxx.cfg:
Code:
amx_scrollmsg "Welcome to BoK | WC3FT Saved XP - www.brothersofkhaos.com" 300
amx_scrollmsg "Rules: 1.No hacking/cheating/ghosting 2.Respect everyone 3.No killing hostages on purpose 4.No offensive camping 5.No giving locations of people when all talk is on 6.No spawn killing/shooting 7.No skywalking/map exploiting 8.No racial/ethnic slurs 9.No spamming 10.No team stacking 11.No complaining 12.No advertising/recruiting 13.Obey the admins" 300
__________________
BoK | Krazy is offline
Send a message via AIM to BoK | Krazy
BAILOPAN
Join Date: Jan 2004
Old 04-11-2006 , 02:31  
#4

This should do the trick. Download attachment.
Attached Files
File Type: amx scrollmsg.amx (3.8 KB, 242 views)
__________________
egg
BAILOPAN is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 04-11-2006 , 09:43  
#5

It should also be noted that you can only have a single scroll message. It's not like the imessages where you can have multiple messages.
Brad is offline
BoK | Krazy
Member
Join Date: Dec 2005
Location: Dayton, OH
Old 04-11-2006 , 14:43  
#6

I put that file in my plugins and it is not giving me any errors, but as I was playing on my server I never saw a scroll message for a whole map so there is still something wrong.

If right now if it is only able to have one scroll message I will do that, but having multiple ones like imessages might be good.

If you need me to test a new scrollmsg.amxx just post it again. I don't think my server will die without a scroll message

EDIT: Only the 2nd scroll message is working.
__________________
BoK | Krazy is offline
Send a message via AIM to BoK | Krazy
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode