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

Map Decals


Post New Thread Reply   
 
Thread Tools Display Modes
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 05-13-2012 , 07:46   Re: Map Decals
Reply With Quote #431

I hate argument... and ass licking

With all due respect sir @berni, I admire your work what you have done,
such like this plugin what gives me tears of joy when I finally able to decorate maps with all kinds brony pictures <3
pinkie pie, applejack, twilight... and that one who have all kind of colors her mane and tail... and rest of those annoying .

But this plugin (from first post!) do have little difficulties to save decals position to file.
Works when Save by aim position.
But with not others arguments:
Save all on current Map to File
Save last painted Decal to File
Save by Name
Save by ID


Because plugin try save KeyValues to empty file, or named with garbage.
Save aim position use right string.
PHP Code:
KeyValuesToFile(kvpath_mapdecals); 
but rest save options not
PHP Code:
decl String:file[PLATFORM_MAX_PATH]; // This string never formatted any text.
KeyValuesToFile(kvfile); 
Humble admirer, Bacardi


*edit
ou yea, forgot. This is crap file what I attached appears game root folder.
Attached Files
File Type: zip ž.zip (237 Bytes, 149 views)

Last edited by Bacardi; 05-13-2012 at 07:47.
Bacardi is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 05-13-2012 , 09:28   Re: Map Decals
Reply With Quote #432

Thanks for the accurate bug description.
I'll see what I can do.

Greetings ~Berni
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 05-13-2012 , 10:53   Re: Map Decals
Reply With Quote #433

Quote:
Originally Posted by berni View Post
Thanks for the accurate bug description.
I'll see what I can do.

Greetings ~Berni
thank you and take a time.
Bacardi is offline
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 05-18-2012 , 10:42   Re: Map Decals
Reply With Quote #434

I wish I could give a more accurate description of the bug I'm experiencing. The decals just don't want to show at random chance... and sometimes they do.
StrikerMan780 is offline
dagg929
Senior Member
Join Date: Jun 2008
Old 08-22-2012 , 19:17   Re: Map Decals
Reply With Quote #435

Anyone testing this with CS:GO?
dagg929 is offline
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 08-31-2012 , 22:41   Re: Map Decals
Reply With Quote #436

Seems changing
Code:
for (new i=0; i<size; ++i)
    {
        id = GetArrayCell(adt_decal_id, i);
        precache = GetArrayCell(adt_decal_precache, id);
        GetArrayArray(adt_decal_position, i, _:position);
        TE_SetupBSPDecal(position, 0, precache);
        TE_SendToClient(client, 10.0);
    }
to

Code:
for (new i=0; i<size; ++i)
    {
        id = GetArrayCell(adt_decal_id, i);
        precache = GetArrayCell(adt_decal_precache, id);
        GetArrayArray(adt_decal_position, i, _:position);
        TE_SetupBSPDecal(position, 0, precache);
        TE_SendToAll();
    }
Will allow the decals to eventually spawn, because the command to send the tempent is executed multiple times during the game. (Requires multiple people to join mid-game to make them show up if they weren't before)...

The downside to this though, is the Decals will eventually keep stacking up on top of each other, causing immense framerate drop if lots of people come and go as you're playing.

Something seems to be causing the TempEnts to not always be sent to clients properly....

If there's a possible fix, please let me know.

Last edited by StrikerMan780; 08-31-2012 at 22:43.
StrikerMan780 is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 08-31-2012 , 22:41   Re: Map Decals
Reply With Quote #437

Still works fine to me with the version posted later in the thread.
Horsedick is offline
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 09-01-2012 , 18:56   Re: Map Decals
Reply With Quote #438

Quote:
Originally Posted by Horsedick View Post
Still works fine to me with the version posted later in the thread.
That's the version I am using, and it isn't working right. This has nothing to do with the proper saving of the decals, but rather them showing up at all half of the time. The chance seems to be 50/50.
StrikerMan780 is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 09-01-2012 , 20:50   Re: Map Decals
Reply With Quote #439

Quote:
Originally Posted by StrikerMan780 View Post
That's the version I am using, and it isn't working right. This has nothing to do with the proper saving of the decals, but rather them showing up at all half of the time. The chance seems to be 50/50.
Ok first off do they show up in your client - 2nd, is it only happening to you?
3rd- how good as in speed and dependable is your fast download host to provide the files as needed?

Cause I'm telling ya I'm using the same version - fast and dependable Fast DL host and it works fine no problems what so ever for me or anyone else on my servers and my DL host is providing decals and files for 15 servers and nearly 8000+ players each day.
Horsedick is offline
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 09-01-2012 , 21:33   Re: Map Decals
Reply With Quote #440

They will show up properly to the client if sprayed later in-game, or if using the change I specified, which causes it to get spammed to all clients when a new client connects so that it will eventually give in and get sent to everyone, at an uneven rate, I may add. (Downside being an immense FPS Drop). All of the players are having the issue. Running a Linux Dedicated Server for TF2. There are no issues with the Fast DL.

Last edited by StrikerMan780; 09-01-2012 at 21:36.
StrikerMan780 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 01:38.


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