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

[CS:GO] Lights plugin sqlite > mysql conversion


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 10-31-2016 , 18:45   [CS:GO] Lights plugin sqlite > mysql conversion
Reply With Quote #1

Hey guys, I'm using an edit of the Christmasification plugin (attached) for CS:GO.

Currently, it only supports sqlite, mysql doesn't work properly. Also, when using this plugin I noticed at some point it simply stopped displaying lights, perhaps because my database was so big? It saves each individual light coordinate, for ~10-15 maps I used it on, there's over 5000 rows.

Could someone modify this so it works properly with mysql, and doesn't have issues with not displaying lights anymore? Thanks!
Attached Files
File Type: sp Get Plugin or Get Source (csgo_christmasification.sp - 507 views - 13.8 KB)
__________________
sneaK is offline
Totenfluch
AlliedModders Donor
Join Date: Jan 2012
Location: Germany
Old 10-31-2016 , 20:30   Re: [CS:GO] Lights plugin sqlite > mysql conversion
Reply With Quote #2

1. Why would you use Stacks? ArrayLists are much more comfortable.
2. use Floats instead of REALs in your MySQL table
3. New Syntax.. please..
4. Save the reference to the sprite not the sprite

The last Point could be the Reason for your Bug
__________________
Notable Projects:
Event Item Spawner | Scissors, Rock, Paper for ZephStore
tVip | Smart Link Remover
PLG & GGC - CS:GO Roleplay

and countless more...

I can make a helicopter shoot missles if you want me to...
Totenfluch is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 10-31-2016 , 20:35   Re: [CS:GO] Lights plugin sqlite > mysql conversion
Reply With Quote #3

I didn't code any of this, this plugin is from 2012, merely updated by Franc1sco to work with CS:GO.

I do agree however, this plugin could definitely use some updating/optimizations overall.
__________________

Last edited by sneaK; 10-31-2016 at 20:35.
sneaK is offline
xines
Veteran Member
Join Date: Aug 2013
Location: Denmark
Old 10-31-2016 , 20:35   Re: [CS:GO] Lights plugin sqlite > mysql conversion
Reply With Quote #4

Quote:
Originally Posted by Totenfluch View Post
1. Why would you use Stacks? ArrayLists are much more comfortable.
2. use Floats instead of REALs in your MySQL table
3. New Syntax.. please..
4. Save the reference to the sprite not the sprite

The last Point could be the Reason for your Bug
Did you see blackhawk74 as the author of the script, because i didn't
__________________
xines 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 04:59.


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