Raised This Month: $32 Target: $400
 8% 

I know Kung Fu. v1.2


Post New Thread Reply   
 
Thread Tools Display Modes
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 02-07-2006 , 21:11  
Reply With Quote #11

Quote:
Originally Posted by pendragon
Quote:
Originally Posted by Hawk552
Quote:
Originally Posted by pendragon
Damnit man.. I love you.. BUT I can't do jack with this cause its CS dependant! Multimod!! MULTIMOD
Can you please tell me what mod you want it to support? (I assume DOD, but you never know) The problem right now is that it replaces a weapon (the knife in CS), so it's kinda hard to tell which weapon to replace in other mods.
Yes sir. DoD.
you have 4 for dod... DODW_SPADE, DODW_BRITKNIFE, DODW_AMERKNIFE, & DODW_GERKNIFE. I'm assuming you'd also have to strip them of all their weapons...if that's not already a part of your current code, SidLuke's Oneweapon plugin does that.
Nope, that's not how it works

Try this:

EDIT: And what's the difference between GERKNIFE and SPADE?
Attached Files
File Type: sma Get Plugin or Get Source (kungfu_dod.sma - 1476 views - 15.0 KB)
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 02-07-2006 , 21:29  
Reply With Quote #12

One is a knife.. One is a spade shove.. It look like a spade on a wooden stick I think
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
VEN
Veteran Member
Join Date: Jan 2005
Old 02-08-2006 , 04:57  
Reply With Quote #13

Quote:
Will knock gun out of opponent's hands
In my opinion it's better put a note "only for real players" or make it bot-compatible.
VEN is offline
Skyrider
AMX Mod X Beta Tester
Join Date: May 2005
Location: Netherlands
Old 02-08-2006 , 05:02  
Reply With Quote #14

This script sounds awesome, its a shame that it won't work on ESF.. Because the weapon drop, and can't crouch in ESF and all
__________________
Skyrider is offline
Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
VEN
Veteran Member
Join Date: Jan 2005
Old 02-08-2006 , 05:18  
Reply With Quote #15

Code:
new szMotd[1024]
1134 + 1
VEN is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 02-08-2006 , 15:21  
Reply With Quote #16

Quote:
Originally Posted by VEN
Quote:
Will knock gun out of opponent's hands
In my opinion it's better put a note "only for real players" or make it bot-compatible.
Ok, will do next version.

Quote:
Originally Posted by VEN
Code:
new szMotd[1024]
1134 + 1
Your point is...? It fit when I tried it.

Quote:
Originally Posted by FF|Skyrider
This script sounds awesome, its a shame that it won't work on ESF.. Because the weapon drop, and can't crouch in ESF and all
It wouldn't be very fun in that, because it doesn't show model animations and is extremely weak for a fast game like ESF. It's not even designed for DOD, but I didn't see any reason it wouldn't work (although it makes no sense, you don't see American soldiers running around kicking Germans wtih an Asian martial art).
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 02-08-2006 , 17:35  
Reply With Quote #17

Quote:
Originally Posted by Hawk552
...you don't see American soldiers running around kicking Germans wtih an Asian martial art).
Haha - totally unrelated - and I'll take the kick in the nuts for derailing this a bit.. but I was watching the history channel last night, and there was a documentary going on concentrating on the Pacific Theatre... well anywho, they had one re-telling by some former soldiers of an attack gone wrong, where they got pinned down by Japanese machine guns and so one of their officers put one of the few Japanese words into use and would randomly yell out BAKA! to piss them off. The Japanese would eventually open fire after being pissed from being verbally harrased and then would be picked off by snipers after the snipers would be able to see their location from the bursts of fire.

ok that is all.. I'll take that foot to the groin now.

p.s. I'll test it tonight and let you know.
pendragon is offline
Send a message via ICQ to pendragon
Caesar
BANNED
Join Date: Nov 2004
Old 02-08-2006 , 17:49  
Reply With Quote #18

Quote:
Originally Posted by VEN
Code:
new szMotd[1024]
1134 + 1

OOh i know the anwser... 1135!


Anyways, nice plugin hawk, tis very pimpish
Caesar is offline
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 02-08-2006 , 18:40  
Reply With Quote #19

ok tested... here you go:

Ran the server with minimal non-standard plugins

my analysis:
It seems to me that its crashing only when a player dies at the hands of another player via the kung fu method.

I tried it in different scenarios.
  • 1- players used combo moves and crashed with the same error message but the last move was the dragon kick
    2- players only used punches (one player admitted to using kick before start of actual fight (player interaction)
    3- players only used kicks

all the scenarios used the same plugin,cvar combinations, and all resulted in the same error message.

Server Specs:

Dual Xeon Processor 2.8 GHz
MySQL 4.0.18
AMXX 1.6
Metamod 1.18

Plugins.ini
Code:
;============================================
; Admin Base - Always one has to be activated
;============================================
;admin.amxx		; admin base (required for any admin-related)
admin_sql.amxx		; admin base - SQL version (comment admin.amxx)

;----------END DEFAULTS---------------
amxbans.amxx	; Lantz69's AmxBans

;============================================
; 		Basic
;============================================
;admincmd.amxx		; basic admin console commands
admincmd_firestorm.amxx	; [HACKED] Firestorm	
adminhelp.amxx		; help command for admin console commands
;adminslots.amxx	; slot reservation
multilingual.amxx	; Multi-Lingual management

;----------END DEFAULTS---------------
dod_adminslots.amxx	; Slot Reservation (Firestorm)
;adminmodx.amxx		; ADMIN MOD commands (ZOR)

;============================================
; 		Menus
;============================================
menufront.amxx		; front-end for admin menus
cmdmenu.amxx		; command menu (speech, settings)
plmenu.amxx		; players menu (kick, ban, client cmds.)
telemenu.amxx		; teleport menu (Fun Module required!)
mapsmenu.amxx		; maps menu (vote, changelevel)

;----------END DEFAULTS---------------


;============================================
; 		Chat / Messages
;============================================
adminchat.amxx		; console chat commands
antiflood.amxx		; prevent clients from chat-flooding the server
scrollmsg.amxx		; displays a scrolling message
imessage.amxx		; displays information messages
adminvote.amxx		; vote commands

;----------END DEFAULTS---------------
amx_voiceall.amxx	; Lets Admins talk to all players
;say_tracker.amxx	; Logs Chat to DB (Zor)

;============================================
; 		Map related
;============================================
nextmap.amxx		; displays next map in mapcycle
;mapchooser.amxx		; allows to vote for next map
timeleft.amxx		; displays time left on map

;----------END DEFAULTS---------------
mapmanager.amxx		; Nominations plugin for maps (Deags' & Big Baller)
;sql_maprate.amxx	; polls maps

;============================================
; 		Configuration
;============================================
pausecfg.amxx		; allows to pause and unpause some plugins
statscfg.amxx		; allows to manage stats plugins via menu and commands

;----------END DEFAULTS---------------
;server_binds.amxx	; gives players a list of available binds
;sql_files.amxx		; loads config files

;============================================
; 		Day of Defeat
;============================================
stats.amxx		; stats on death or round end (DoD Module required!)
statssounds.amxx	; precache plugin for stats plugins
stats_logging.amxx	; weapons stats logging (DoD Module required!)

;----------END DEFAULTS---------------
;dod_scopefix.amxx	; fixes pistol scope bug
;dod_oneweaponmod.amxx	; one weapon only for DoD (Sid Luke)
;dod_bleeding.amxx	; (zor)
;dod_teamselect.amxx	; Switch Teams around (Zor)
;dod_tkrevenge_mysql.amxx; SQL Based TK system (Firestorm)
;dod_freeclass.amxx	; Free a class (Firestorm)
;dod_classmenu.amxx	; lets donors chose any class they want

;============================================
;		Other Customs
;============================================
;============ Administration ================
;player_tracker.amxx	; logs player info to database
;remember_the_names.amxx	; player name tracker (JGHG)
;task_scheduler.amxx	; Schedule events based on time
;motdm.amxx		; news, info, rules
;server_restart.amxx	; restart/shutdown server

;=============== Discipline =================
;jedi_force_grab.amxx	; Lets you grab players
;holyslap.amxx		; slaps players 1 hp 100 times
;dod_eviladmin.amxx	; Torture Device (Firestorm)

;================ Weapons ===================
;dod_flamethrower.amxx	; Flame Thrower
;dod_smokegrenade.amxx	; Smokenades

;=============== Security ===================
;dod_blockexploits.amxx	; blocks exploits (Firestorm)

;================= FUN ======================
;timebomb_817.amxx	; Kamakazi (Zor)
;admin_ff.amxx		; Turns on FF
kungfu_dod.amxx		; I know kung fu
modules.ini
Code:
; AMX Mod X Modules
; You can specify both linux & win32 modules here
; To enable a module, remove the semi-colon from the line

; ------------------------------
; Fun - provides extra functions
; ------------------------------

fun_amxx.dll

; ----------------------------------------------------
; Engine - provides engine functions core to Half-Life
; ----------------------------------------------------
engine_amxx.dll

; ----------------------------------------------------------
; Fakemeta - provides a massive interface into the HL engine
; ----------------------------------------------------------
fakemeta_amxx.dll

; -------------------------------------------
; Database Access - only enable one of these
; -------------------------------------------
; MySQL
mysql_40_amxx.dll
;mysql_amxx.dll

; ---------------------------------------------
; GeoIP - determines the country of ip adresses
; ---------------------------------------------
;geoip_amxx.dll

; ------------------------------------
; Array - advanced arrays in scripting
; ------------------------------------
;array_amxx.dll

; --------------------------------
; Sockets - network socket support
; --------------------------------
;sockets_amxx.dll


; --------------------------
; Regular Expression support
; --------------------------
regex_amxx.dll


; --------------------------------------------------
; Day of Defeat Fun - adds functions specific to DoD
; --------------------------------------------------
dodfun_amxx.dll

; -------------------------------------------------------
; Day of Defeat X - adds stats and addition DoD functions
; -------------------------------------------------------
dodx_amxx.dll

cvars
Code:
amx_fu_fist 1 //- Whether or not this is allowed. (Default 1)
amx_fu_fist_range 70.0 //- How close you have to be to use this. (Default 70.0)
amx_fu_fist_knockback 5 //- How much you are knocked back when hit by thist. (Default 5)
amx_fu_fist_damage 15 //- How much damage this deals. (Default 15)
amx_fu_fist_power 5 //- How much this move drains your Kung Fu Meter (Default 5)

amx_fu_kick 1 //- Whether or not this is allowed. (Default 1)
amx_fu_kick_range 100 //- How close you have to be to use this. (Default 100.0)
amx_fu_kick_knockback 10 //- How much you are knocked back when hit by this. (Default 10)
amx_fu_kick_damage 30 //- How much damage this deals. (Default 30)
amx_fu_kick_power 10 //- How much this move drains your Kung Fu Meter (Default 10)

amx_fu_jumpkick 1 //- Whether or not this is allowed. (Default 1)
amx_fu_jumpkick_knockback 10 //- How much you are knocked back when hit by this. (Default 10)
amx_fu_jumpkick_damage 20 //- How much damage this deals. (Default 20)

amx_fu_dragonkick 1 //- Whether or not this is allowed. (Default 1)
amx_fu_dragonkick_knockback 20 //- How much you are knocked back when hit by this. (Default 20)
amx_fu_dragonkick_damage 50 //- How much damage this deals. (Default 50)
amx_fu_dragonkick_power 50 //- How much this move drains your Kung Fu Meter (Default 50)

amx_fu_flurry 1 //- Whether or not this is allowed. (Default 1)

amx_fu_meter_regen 20 //- How many points the fu meter regenerates every second. (Default 20)
crash info:
this is the last bit of log info right before the crash:
scenario 1:
Code:
"Solid<1><STEAM_0:1:2598855><Allies>" killed "[Me109] Butts: Got 'Em Coach!<2><STEAM_0:1:27605><Axis>" with "KungFu Jumpkick"
"[Me109] Butts: Got 'Em Coach!<2><STEAM_0:1:27605><Axis>" committed suicide with "world"
FATAL ERROR (shutting down): User Msg 'ScoreInfo': 9 bytes written, expected 7
scenario 2:
Code:
"[Me109] Butts: Got 'Em Coach!<2><STEAM_0:1:27605><Axis>" killed "Solid<1><STEAM_0:1:2598855><Allies>" with "KungFu Fist"
"Solid<1><STEAM_0:1:2598855><Allies>" committed suicide with "world"
FATAL ERROR (shutting down): User Msg 'ScoreInfo': 9 bytes written, expected 7
scenario 3:
Code:
"[Me109] Butts: Got 'Em Coach!<2><STEAM_0:1:27605><Axis>" killed "Solid<1><STEAM_0:1:2598855><Allies>" with "KungFu Kick"
"Solid<1><STEAM_0:1:2598855><Allies>" committed suicide with "world"
FATAL ERROR (shutting down): User Msg 'ScoreInfo': 9 bytes written, expected 7
__________________
pendragon is offline
Send a message via ICQ to pendragon
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 02-08-2006 , 18:44  
Reply With Quote #20

Ok, I think it's something to do with the logging. I'll get back to you on that. I have to study for a while then I'll try to fix it.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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 08:56.


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