Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 10-27-2009, 12:56 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by fowlplay4 View Post
That would be cool cause if an obscene upload got approved, then i could be graphically obscene on every non-gold server and you would have to wait for globals to undo it!


Perhaps the GDT could handle those types of situations.
__________________
Reply With Quote
  #17  
Old 10-28-2009, 05:12 AM
Matt Matt is offline
iZone Administrator
Matt's Avatar
Join Date: Apr 2005
Location: United States
Posts: 2,690
Matt is a jewel in the roughMatt is a jewel in the rough
Very nice.
__________________
Need Playerworld or Account support?
GraalOnline/Toonslab Support Center
Reply With Quote
  #18  
Old 12-17-2009, 01:06 AM
darkcloud667 darkcloud667 is offline
That One Guy.
darkcloud667's Avatar
Join Date: Dec 2009
Location: Missouri
Posts: 40
darkcloud667 will become famous soon enough
nice script :o

and the only problem with it uploading to all servers at once is that some servers have different rules on what to upload and what not to.
certain images arent allowed on one server that are allowed on another
blah.
Reply With Quote
  #19  
Old 02-13-2011, 03:28 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
There is a problem in the original script that could potentially result in a loss of data in any of your data that is stored via SQL, although this is very unlikely because of the nature of the problem—generally, you should just see some errors in RC if it's being abused.

With that said, if you're using this script, please update it ASAP to a patched version here.
__________________
Reply With Quote
  #20  
Old 02-13-2011, 09:00 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
That pastebin is really nice.
__________________
Quote:
Reply With Quote
  #21  
Old 02-14-2011, 04:51 PM
Toxen Toxen is offline
A Toxic Fellow
Join Date: Jan 2008
Location: Georgia
Posts: 36
Toxen is on a distinguished road
@cbk1994, just curious, i didn't look at the script but I looked at the post and pictures and what i saw showed that you don't get to choose your extension, does that mean you can't upload .mngs with it?
__________________
UN NAT.
Reply With Quote
  #22  
Old 10-25-2011, 05:34 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Request: Add support for fixImageTransparency(file);

It sets the transparent color as the same color in the top left corner. When transing it also converts truecolor images down to 256 colors / 8 bit.
__________________
Quote:
Reply With Quote
  #23  
Old 01-20-2012, 10:16 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Updated by fowlplay4

1. Added work-around for downloading images.
No longer need to add anything to folder config.
See function getGraphic(img) for more notes on that.
2. Added support for setting transparencies via
fiximagetransparency(filepath)
3. Updated naming to be more user-friendly by changing
the getUploadFullName() function. Prevents players
from using periods in the name however.
4. Added support for hats.
5. Added support for using a different database.
6. Fixed to use V6's new uploadfile() function.

Link:
http://pastebin.graalcenter.org/read.php?id=43131936319
__________________
Quote:
Reply With Quote
  #24  
Old 01-21-2012, 06:48 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by fowlplay4 View Post
Updated by fowlplay4
Thanks, nice work .

edit: thanks Skyld for updating OP
__________________

Last edited by cbk1994; 01-21-2012 at 07:10 PM..
Reply With Quote
  #25  
Old 01-21-2012, 09:13 PM
MattKan MattKan is offline
the KattMan
Join Date: Aug 2010
Location: United States
Posts: 1,325
MattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to behold
Send a message via AIM to MattKan
Quote:
Originally Posted by fowlplay4 View Post
Update
__________________
Quote:
Originally Posted by Satoru Iwata
On the other hand, free-to-play games, if unbalanced, could result in some consumers paying extremely large amounts of money, and we can certainly not expect to build a good relationship with our consumers in this fashion. In order to have a favorable long-term relationship, we would like to offer free-to-play games that are balanced and reasonable.
Quote:
Originally Posted by Unximad
Eurocenter Games remains attached to the values of indies game developer and to the service our playerbase community.
Reply With Quote
  #26  
Old 03-25-2012, 02:12 AM
r3ckless r3ckless is offline
Owner of Corinthia
Join Date: Dec 2011
Location: MAssachusetts, USA
Posts: 131
r3ckless is an unknown quantity at this point
Send a message via AIM to r3ckless Send a message via MSN to r3ckless
I put this script on my server, followed all the directions correctly, but everytime I go to Manage Uploads, I get an error telling me it can't load the graphic, to check if im lagging etc etc

What's up with this?
__________________

Yep.

Reply With Quote
  #27  
Old 03-25-2012, 02:54 PM
Bam112 Bam112 is offline
◕ ◡ ◕
Bam112's Avatar
Join Date: Mar 2012
Posts: 41
Bam112 is on a distinguished road
Very nice.
__________________
Happy halloween!
Reply With Quote
  #28  
Old 07-31-2015, 10:54 PM
iGraalian iGraalian is offline
Registered User
Join Date: Jul 2015
Posts: 12
iGraalian is on a distinguished road
For some reason when someone uploads anything, it shows up black so I can't see the image they want to upload. What's the problem?
Reply With Quote
  #29  
Old 08-01-2015, 09:50 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Can you post a screenshot?
__________________
Reply With Quote
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 +2. The time now is 02:29 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.