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

UberPunisher


Post New Thread Reply   
 
Thread Tools Display Modes
{LOD}Scarecrow
Member
Join Date: Dec 2004
Location: AZ
Old 08-03-2007 , 14:09   Re: UberSlap
Reply With Quote #11

Compile failed.
{LOD}Scarecrow is offline
Send a message via AIM to {LOD}Scarecrow
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 08-03-2007 , 14:30   Re: UberSlap
Reply With Quote #12

It's because SourceMod was updated with a native that he created in his plugin. If you comment out/delete lines 91-104, it will compile fine and it should work.
bl4nk is offline
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 08-04-2007 , 10:12   Re: UberSlap
Reply With Quote #13

There, updated the plugin itself 1.0.1 if you already made the change bl4nk suggested you won't need to update. But, I suggest updating sourcemod and this anyway.
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
janbanan
Member
Join Date: Jun 2007
Old 08-05-2007 , 01:16   Re: UberSlap
Reply With Quote #14

It doesnt work for me. I get:

Code:
L 08/05/2007 - 07:08:47: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 08/05/2007 - 07:08:47: [SM] Native "ShowActivity" reported: Language phrase "Was UberSlapped" not found
L 08/05/2007 - 07:08:47: [SM] Displaying call stack trace:
L 08/05/2007 - 07:08:47: [SM]   [0]  Line 70, /home/groups/alliedmodders/forums/files/2/1/2/18737.attach::Command_UberSlap()
When i try SM outputs a bunch of bogus characters in-game.

The translation file is there, and i think it looks ok.
Using SM 1.0.0.1267, with metamod 1.4.2.414, under linux.
janbanan is offline
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 08-05-2007 , 01:33   Re: UberSlap
Reply With Quote #15

hmmm the downloads all seem fine to me, make sure "Was UberSlapped" looks right in the phrases.

it should be in
addons/sourcemod/translation/uberslap.phrases.txt
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
janbanan
Member
Join Date: Jun 2007
Old 08-05-2007 , 02:32   Re: UberSlap
Reply With Quote #16

I think it looks good, though i dont know how it should look, so ill post it.

Code:
css@srv-2:~/srcds-3/cstrike/addons/sourcemod/translations$ cat uberslap.phrases.txt 
"Phrase"
{
        "Being UberSlapped"
        {
                "en"                    "Player is already being UberSlapped, please wait until UberSlap finishes."
        }
        "UberSlap Dead"
        {
                "en"                    "You can not UberSlap a dead player."
        }
        "Was UberSlapped"
        {
                "#format"               "{1:s}"
                "en"                    "{1} has been UberSlapped"
        }
}
css@srv-2:~/srcds-3/cstrike/addons/sourcemod/translations$
janbanan is offline
Tekniqal
Senior Member
Join Date: Aug 2006
Old 08-08-2007 , 12:05   Re: UberSlap
Reply With Quote #17

So this is working for people right now? cuz mine isnt. When I run the command the game output is "[SM]" and console says this:

uE.Tekniqal : !uberslap tek
[SM] uE.Tekniqal:
Unknown command: sm_uberslap

sourcemod_version "1.0.0.1268"

Code:
L 08/08/2007 - 08:55:27: SourceMod error session started
L 08/08/2007 - 08:55:27: Info (map "de_dust2") (file "errors_20070808.log")
L 08/08/2007 - 08:55:27: [SM] Warning(s) encountered in translation file "uberslap.phrases.txt"
L 08/08/2007 - 08:55:27: [SM] Ignoring invalid section "%s" on line %d.
L 08/08/2007 - 08:55:27: [SM] Ignoring invalid section "%s" on line %d.
L 08/08/2007 - 08:55:27: [SM] Ignoring invalid section "%s" on line %d.
L 08/08/2007 - 08:55:27: [SM] Ignoring invalid section "%s" on line %d.
L 08/08/2007 - 08:56:45: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 08/08/2007 - 08:56:45: [SM] Native "ShowActivity" reported: Language phrase "Was UberSlapped" not found
L 08/08/2007 - 08:56:45: [SM] Displaying call stack trace:
L 08/08/2007 - 08:56:45: [SM]   [0]  Line 70, /home/groups/alliedmodders/forums/files/2/1/2/18737.attach::Command_UberSlap()
L 08/08/2007 - 08:56:56: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 08/08/2007 - 08:56:56: [SM] Native "ShowActivity" reported: Language phrase "Was UberSlapped" not found
L 08/08/2007 - 08:56:56: [SM] Displaying call stack trace:
L 08/08/2007 - 08:56:56: [SM]   [0]  Line 70, /home/groups/alliedmodders/forums/files/2/1/2/18737.attach::Command_UberSlap()
L 08/08/2007 - 09:00:29: [SM] Warning(s) encountered in translation file "uberslap.phrases.txt"
L 08/08/2007 - 09:00:29: [SM] Ignoring invalid section "%s" on line %d.
L 08/08/2007 - 09:00:29: [SM] Ignoring invalid section "%s" on line %d.
L 08/08/2007 - 09:00:29: [SM] Ignoring invalid section "%s" on line %d.
L 08/08/2007 - 09:00:29: [SM] Ignoring invalid section "%s" on line %d.
L 08/08/2007 - 09:00:29: Error log file session closed.
and this part of the error is throughout error logs
Code:
L 08/08/2007 - 08:55:27: [SM] Warning(s) encountered in translation file "uberslap.phrases.txt"
L 08/08/2007 - 08:55:27: [SM] Ignoring invalid section "%s" on line %d.
L 08/08/2007 - 08:55:27: [SM] Ignoring invalid section "%s" on line %d.
L 08/08/2007 - 08:55:27: [SM] Ignoring invalid section "%s" on line %d.
L 08/08/2007 - 08:55:27: [SM] Ignoring invalid section "%s" on line %d.
L 08/08/2007 - 08:56:45: [SM] Plugin encountered error 4: Invalid parameter or parameter type
To install i put the smx in plugins folder and the uberslap.phrases.txt in the translations folder.

Last edited by Tekniqal; 08-08-2007 at 12:08.
Tekniqal is offline
spelworm
Senior Member
Join Date: Mar 2007
Old 08-09-2007 , 01:46   Re: UberSlap
Reply With Quote #18

well found the bug fixed it but am i allowed to release the fix here or is only the owner of the plugin allowed to do that ?

Last edited by spelworm; 08-09-2007 at 02:17.
spelworm is offline
janbanan
Member
Join Date: Jun 2007
Old 08-09-2007 , 14:29   Re: UberSlap
Reply With Quote #19

Its open sourced, so please post the solution.
I want to have this working.
janbanan is offline
spelworm
Senior Member
Join Date: Mar 2007
Old 08-09-2007 , 14:38   Re: UberSlap
Reply With Quote #20

then here it is if it doesnt work tell me please may have clicked on the wrong file.
Attached Files
File Type: smx uberslap.smx (6.5 KB, 181 views)
File Type: sp Get Plugin or Get Source (uberslap.sp - 596 views - 7.8 KB)

Last edited by spelworm; 08-09-2007 at 15:09.
spelworm is offline
Reply



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 22:35.


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