Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 120
Search took 0.03 seconds.
Search: Posts Made By: MightyMalcolm
Forum: Scripting 09-28-2011, 11:16
Replies: 11
Views: 4,619
Posted By MightyMalcolm
Re: A hook before clients disconnect OnMapEnd

ok i shot like a cowboy now :p and it is as i thought: IsClientInGame = false :/ well i found a gamevent called "game_end". will try that.
*BÄM it fires ~ 10 seconds before MapEnd when final stats...
Forum: Scripting 09-28-2011, 10:50
Replies: 11
Views: 4,619
Posted By MightyMalcolm
Re: A hook before clients disconnect OnMapEnd

well wouldn't IsClientInGame be false then? O.o will try it though, thx
Forum: Scripting 09-28-2011, 10:28
Replies: 11
Views: 4,619
Posted By MightyMalcolm
A hook before clients disconnect OnMapEnd

hey guys,
public OnMapEnd(){
WriteClients();
}

WriteClients(){
for(new i = 1; i <= MaxClients; i++){
if(IsClientInGame(i)){
ClientCommand(i,"setinfo...
Forum: Scripting 09-28-2011, 02:27
Replies: 11
Views: 2,247
Posted By MightyMalcolm
Re: [Dark Messiah] Getting/Setting XP (through EntProp?)

dude that DID it! thank you SO MUCH!!! <3
Forum: Scripting 09-27-2011, 18:31
Replies: 11
Views: 2,247
Posted By MightyMalcolm
Re: [Dark Messiah] Getting/Setting XP (through EntProp?)

coming back to topic, i can say that i only found one entry (l. 10271) that looked A BIT like it could be what i was looking for. but it just contains m_iPlayerScore which i can also get by using...
Forum: Scripting 09-27-2011, 17:06
Replies: 11
Views: 2,247
Posted By MightyMalcolm
Re: [Dark Messiah] Getting/Setting XP (through EntProp?)

it is installed here. running it via steam. i mean c'amon: 6 cores and 4GB RAM must be good for something %)

*EDIT: no error logs
Forum: Scripting 09-27-2011, 16:55
Replies: 11
Views: 2,247
Posted By MightyMalcolm
Re: [Dark Messiah] Getting/Setting XP (through EntProp?)

Tried, but still it crashes O.o maybe i've done sth wrong? removed all but the core plugins and didnt execute ANY cvar/command BUT map CTF_2. still my ded crashes.
Forum: Scripting 09-27-2011, 16:25
Replies: 11
Views: 2,247
Posted By MightyMalcolm
Re: [Dark Messiah] Getting/Setting XP (through EntProp?)

worked for the netprops and i am fighting myself through this FUCKING huge file :D but is it normal, that my server crashes when i use sm_dump_datamaps? tried it 3 times now on both my rented and a...
Forum: Scripting 09-27-2011, 15:16
Replies: 11
Views: 2,247
Posted By MightyMalcolm
Re: [Dark Messiah] Getting/Setting XP (through EntProp?)

*cough* eeer and how to do that? :oops: a former friend of mine did some coding with EntProps, but he never showed me how it works :< me iz nub
Forum: Scripting 09-27-2011, 14:09
Replies: 11
Views: 2,247
Posted By MightyMalcolm
[Dark Messiah] Getting/Setting XP (through EntProp?)

As you might not know, Dark Messiah uses an XP-system, that allows clients to level up the 5 character classes the game has to offer. i'd rly like to wirte a plugin, that would be able to both get...
Forum: General 04-11-2011, 15:42
Replies: 0
Views: 736
Posted By MightyMalcolm
Should base translations work automatically?

Hey guys,

this time, i have a very basic question. Should translations work automatically or do i need to activate them? no matter whom i ask (french, polish, germans, etc.) they all say the...
Forum: Scripting 02-24-2011, 08:04
Replies: 11
Views: 2,576
Posted By MightyMalcolm
Re: OnServerCommand?

the event tells me how many have been invited (not for which team though. this either doesn't work or my code is crap).
ublic Action:OnColoInvitesSent(Handle:event,const...
Forum: Scripting 02-24-2011, 07:47
Replies: 4
Views: 1,005
Posted By MightyMalcolm
Re: Timers screwing again -.-

you have epic timing mate, because i JUST seem to have found the source of evil. these two functions were working against each other:
public Action:Event_Player_Death(Handle:event,const...
Forum: Scripting 02-23-2011, 18:49
Replies: 11
Views: 2,576
Posted By MightyMalcolm
Re: OnServerCommand?

yupp that was the last alternative i considered. i was thinking about a timer waiting for a certain timer after the end of a fight and then clearing all invites. Hopefully the server will then send...
Forum: Scripting 02-23-2011, 15:05
Replies: 11
Views: 2,576
Posted By MightyMalcolm
Re: OnServerCommand?

if i get this right your idea would mean to almost completely re-write the server's functionality and replace it with a new one. would mean quite a lot of tracking player's movements. All i got so...
Forum: Scripting 02-23-2011, 03:38
Replies: 4
Views: 1,005
Posted By MightyMalcolm
Re: Timers screwing again -.-

still the same prob :< at least i removed the Action-tag^^ Are these errors critical anyway? i always clear the timer variable before i create a new one and the plugin runs without any other...
Forum: Scripting 02-23-2011, 03:11
Replies: 4
Views: 1,005
Posted By MightyMalcolm
Timers screwing again -.-

Hey guys,

the following timer is intended to try killing a player as long as he is finally dead (ForceClientSuicide only worked in 50% of all cases).
new Handle:g_Kill_Timers[MAXPLAYERS+1];
...
Forum: Scripting 02-21-2011, 08:12
Replies: 11
Views: 2,576
Posted By MightyMalcolm
Re: OnServerCommand?

well ... it's Dark Messiah again :< It has an arena-mode (called colosseum), where you can fight 1on1. therefore the server asks players to accept the challange of another player (though the server...
Forum: Scripting 02-21-2011, 07:56
Replies: 11
Views: 2,576
Posted By MightyMalcolm
Re: OnServerCommand?

nope, not working. i used it to print out the actual names of the commands sent, but it didnt even show things like "kill" and nothing for the server at all :<
any other way to get inside into what...
Forum: Scripting 02-21-2011, 04:48
Replies: 11
Views: 2,576
Posted By MightyMalcolm
OnServerCommand?

Hey guys,

OnClientCommand(...) obviously get's called when a client is sending a command. Is there an equivalent for the server, like OnServerCommand? Searched the API high and low :<
Forum: Scripting 02-20-2011, 11:34
Replies: 18
Views: 5,697
Posted By MightyMalcolm
Forum: Scripting 02-20-2011, 10:59
Replies: 18
Views: 5,697
Posted By MightyMalcolm
Re: Difference between CloseHandle and INVALID_HANDLE

ah fuck one last question: can i also do it this way?
public Action:Timer(Handle:timer){
//...
timer = INVALID_HANDLE;
return Plugin_Handled;
}

*PS.: none of this was explained in...
Forum: Scripting 02-20-2011, 10:54
Replies: 18
Views: 5,697
Posted By MightyMalcolm
Re: Difference between CloseHandle and INVALID_HANDLE

done thx. now comes the testing part, but i'm optimistic ;)
Forum: Scripting 02-20-2011, 10:48
Replies: 18
Views: 5,697
Posted By MightyMalcolm
Re: Difference between CloseHandle and INVALID_HANDLE

so i should also add this to my timers?
new Handle:g_timer;

public Action:ResetTimer(Handle:timer){
// ...
g_timer = INVALID_HANDLE; // <----------------
}

public...
Forum: Scripting 02-20-2011, 10:18
Replies: 18
Views: 5,697
Posted By MightyMalcolm
Re: Difference between CloseHandle and INVALID_HANDLE

xD well THANK what epic advise :D seriously, why would CloseHandle() not work? I mean i (hopefully) don't have "multiple copies" open. My function starts the timer and if it is called again before...
Showing results 1 to 25 of 120

 
Forum Jump

All times are GMT -4. The time now is 04:02.


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