block/change map precaching
Upgraded my server from windows to linux, and now a few of my maps are crashing because the mapper used wrong casing.
Example: Real file is sprites/flame2.spr Map tries to precache Sprites/flame2.spr (Not sure if dirs are case sensitive on linux.. but the file isn't being found and crashes hlds) Also need help with this -> http://ampaste.net/4372 Code:
|
Re: block/change map precaching
1 Attachment(s)
I suggest you Ripent instead of making an AMXX Plugin for a stupidly built Map.
;) |
Re: block/change map precaching
Code:
That probably didn't work because you set the third param to zero (read funcwiki for more info). Oh btw, names are case sensitive on linux (pretty sure). ---> Code:
|
Re: block/change map precaching
Simplest solution....rename the file and/or folders. ie sprites folder already exist but its trying to precache from Sprites....so make a new folder called Sprites.
If the same file is used by other maps, copy and paste it then make one with the case sensitive name and one with the original name. Much more easier than making a plugin or using ripent just for some dork's typos. About your ampaste code, take a look at ghw's juggernaut plugin. His plugin correctly sets the hud for the players health...his plugin also gives 1000 hp to the juggernaut so you might get some ideas from there too. |
Re: block/change map precaching
Quote:
|
Re: block/change map precaching
zenith: the default value for param 3 is 0.
native equal(const a[],const b[],c=0); organizedKaoS: get_user_health returns the true health, I'm trying to convert that to what the hud heath shows (the juggernaut plugin doesnt do anything what i want) |
Re: block/change map precaching
Quote:
|
Re: block/change map precaching
Yep.. and I'm trying to convert actual HP (more than 255) to the HP the hud shows (1 byte?.. 0-255..). I don't think anyone understands what I'm trying to do :(.
|
Re: block/change map precaching
Quote:
So when the player is above 255 health, decrease from the alternate hud first until players health is at/below/equal to 255. If you go this route, you might also have to update the default hud as well as I believe it may still try to display the health change. After that, remove the alternate hud and the health hud should suffice thereafter. Just a suggestion. Good luck. |
Re: block/change map precaching
My bad.
|
| All times are GMT -4. The time now is 04:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.