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

Spray 'n Display (incl. Web Panel)


Post New Thread Reply   
 
Thread Tools Display Modes
shamefur dispray
BANNED
Join Date: Aug 2012
Old 08-22-2012 , 16:16   Re: Spray 'n Display (incl. Web Panel)
Reply With Quote #101

While I agree the instructions to install this plugin was unnecessarily vague, it is manageable to get most of it figured out if you're very familiar with linux/mysql. I have the same issues as everyone else though. Sprays are getting added to the database but do not display in the barebones webpage despite it saying there are 74 sprays from the last 7 days.

It would be a kind gesture if those who know how to get this working would chime in. I know the OP was last active on the 17th of this very month. Surely he is aware so many people are struggling with his release, I will try to contact him via PM for assistance just in case he is not. Hopefully we can get some clarification on why this is only getting so far before hitting a brick wall.

I'll be sure to post any info I receive in this thread to help others.
shamefur dispray is offline
shamefur dispray
BANNED
Join Date: Aug 2012
Old 08-26-2012 , 08:01   Re: Spray 'n Display (incl. Web Panel)
Reply With Quote #102

Sorry folks, Geit was online yesterday but chose not to answer my questions in PM regarding everyones issues. I contacted the other person mentioned as an author of this plugin Dark Immortal but they have not been on since I sent them a message so maybe there is still a chance at getting this resolved still.
shamefur dispray is offline
Darkimmortal
Senior Member
Join Date: Aug 2008
Old 08-26-2012 , 08:06   Re: Spray 'n Display (incl. Web Panel)
Reply With Quote #103

When I get a chance I'll do a quick diff of what was released here vs what I have working
__________________
Darkimmortal is offline
Darkimmortal
Senior Member
Join Date: Aug 2008
Old 08-26-2012 , 09:05   Re: Spray 'n Display (incl. Web Panel)
Reply With Quote #104

Yeah as expected the released build here is vastly different...

http://pastebin.com/TNFxAKmN

My frontend code is also hugely different but it's tied into XenForo as well as internal systems in my community so would take too much work to share.

Of course if nothing is appearing/being converted it's worth checking if vtfconv, imagemagick, etc. is actually working...
__________________

Last edited by Darkimmortal; 08-26-2012 at 09:07.
Darkimmortal is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 08-26-2012 , 10:57   Re: Spray 'n Display (incl. Web Panel)
Reply With Quote #105

Thanks Dark - but I really think this whole thing needs to be looked at for perhaps a different way. Even with this sprays.php change in code I don't think something is right. Are there any alternatives to this I wonder?
Horsedick is offline
shamefur dispray
BANNED
Join Date: Aug 2012
Old 08-26-2012 , 14:55   Re: Spray 'n Display (incl. Web Panel)
Reply With Quote #106

Thank you for getting back with us Dark Immortal. I have verified that both vtfconv and imagemagick are working on my system. For those of you wondering how to verify this you can verify imagemagick by saving this as a php file then browsing too it.

PHP Code:
<?php
exec
("mogrify",$out);
echo 
"<pre>"print_r($out); echo "</pre>";
?>
If it outputs an array with info regarding imagemagick's mogrify command then it's installed and working.

As for testing vtfconv I simply typed

Code:
vtfconv
from my shell and was greeted with
Code:
VTFConv - Converts VTF files to multiple PNGs
Usage: vtfconv <file>
So those are working. I'm still not seeing any sprays showing up and my 'player_sprays' folder which acts as the OUTDIR there is nothing in that folder at all and my log.txt is essentially blank.

I know in sprays.php the FORMAT is defined as "gif" though vtfconv says it does PNG. Maybe this is the issue?

Last edited by shamefur dispray; 08-26-2012 at 14:56.
shamefur dispray is offline
Smarmy
Senior Member
Join Date: Mar 2012
Old 09-06-2012 , 22:36   Re: Spray 'n Display (incl. Web Panel)
Reply With Quote #107

So is this dead in the water or?
Smarmy is offline
rtk
Senior Member
Join Date: Dec 2009
Old 10-12-2012 , 15:29   Re: Spray 'n Display (incl. Web Panel)
Reply With Quote #108

Can this be used with multiple gameservers ?
__________________
Never argue with an idiot. He lowers you to his level and then wins on experience!
rtk is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 10-12-2012 , 16:52   Re: Spray 'n Display (incl. Web Panel)
Reply With Quote #109

Quote:
Originally Posted by rtk View Post
Can this be used with multiple gameservers ?
yeah if it works but it doesn't work
Horsedick is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 11-07-2012 , 17:59   Re: Spray 'n Display (incl. Web Panel)
Reply With Quote #110

This works fine, you just need to manage the backend on your own.

vtfconv will NOT convert everything for you.

Do this:

VTFLib v1.3.2 Full - Nem (use VTFCMD) if you want quality, go png, if you want animations, go GIF.
Edit the backend to use the format you changed.
Set up backend scripts to copy the NEW sprays (use a copy/sync tool to do this, or a script) from your gameserver to a directory, and hit them with vftcmd.
Push the converted sprays to your webserver (rsync/ssh is best, but you could ftp, or do it all on the webserver, or whatever)

Multiple gameservers work fine.

Last edited by friagram; 11-07-2012 at 23:12.
friagram 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 15:33.


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