The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.


Advertise here

Reply
 
Thread Tools
  #26    
Old March 9th, 2012, 10:49 AM
Ho-oh 112's Avatar
Ho-oh 112
Advance Scripter
 
Join Date: Feb 2011
Age: 18
Gender: Male
Nature: Hasty

Advertise here
Quote:
Originally Posted by pokemonmasteraaron View Post
You mean I never had to install mysql?!
hahaha.
Anyway, I'll get to work on that.
Things are looking pretty good.
I've got the scripts in my game now, but haven't editted them yet.
I'm going to wait until I get my mysql database setup.
I don't know why, but your scripts.rxdata didn't work in my backup.
I exported the ones I needed in to my main project, though, and it works fine.

I don't know why the scripts.rxdata didn't work though, but glad to see exporting the scripts seperatly works.
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthr...62#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #27    
Old March 9th, 2012, 10:54 AM
pokemonmasteraaron's Avatar
pokemonmasteraaron
The blind Pokémon Master!
 
Join Date: Jan 2011
Location: In the forest of an undiscovered region
Age: 18
Gender: Male
Nature: Relaxed
Send a message via Skype™ to pokemonmasteraaron
will freemysql.net work?
I'm having trouble creating a database with xeround.

It's really only my blindness that's getting in the way though, it isn't the website's falt.
__________________
Game developer.
Not nearly as active on here as I used to be.
Still like meeting and talking to pokemon fanatics like myself.
Reply With Quote
  #28    
Old March 9th, 2012, 11:20 AM
overstood
Beginning Trainer
 
Join Date: Mar 2012
i get this error now :/



Exception: RuntimeError

Message: Script error within event 13, map 38 (Route 1):

Exception: NoMethodError

Message: Section142:363:in `pbUploadPokemonGTS'undefined method `pbConnectSql' for #<Interpreter:0x9726c78>

***Full script:

PokeData=pbChoosePokemon(1,3)
pbUploadList(PokeData)


Interpreter:243:in `pbExecuteScript'

mySQL Trade:355:in `pbUploadList'

mySQL Trade:299:in `loop'

mySQL Trade:359:in `pbUploadList'

(eval)in `pbExecuteScript'

Interpreter:1593:in `eval'

Interpreter:243:in `pbExecuteScript'

Interpreter:1593:in `command_355'

Interpreter:494:in `execute_command'

Interpreter:193:in `update'



Interpreter:276:in `pbExecuteScript'

Interpreter:1593:in `command_355'

Interpreter:494:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:103:in `update'

Scene_Map:101:in `loop'

Scene_Map:114:in `update'

Scene_Map:68:in `main'
Reply With Quote
  #29    
Old March 9th, 2012, 11:31 AM
Ho-oh 112's Avatar
Ho-oh 112
Advance Scripter
 
Join Date: Feb 2011
Age: 18
Gender: Male
Nature: Hasty
Quote:
Originally Posted by overstood View Post
i get this error now :/



Exception: RuntimeError

Message: Script error within event 13, map 38 (Route 1):

Exception: NoMethodError

Message: Section142:363:in `pbUploadPokemonGTS'undefined method `pbConnectSql' for #<Interpreter:0x9726c78>

***Full script:

PokeData=pbChoosePokemon(1,3)
pbUploadList(PokeData)


Interpreter:243:in `pbExecuteScript'

mySQL Trade:355:in `pbUploadList'

mySQL Trade:299:in `loop'

mySQL Trade:359:in `pbUploadList'

(eval)in `pbExecuteScript'

Interpreter:1593:in `eval'

Interpreter:243:in `pbExecuteScript'

Interpreter:1593:in `command_355'

Interpreter:494:in `execute_command'

Interpreter:193:in `update'



Interpreter:276:in `pbExecuteScript'

Interpreter:1593:in `command_355'

Interpreter:494:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:103:in `update'

Scene_Map:101:in `loop'

Scene_Map:114:in `update'

Scene_Map:68:in `main'

that's something in my script.

Quote:
Originally Posted by pokemonmasteraaron View Post
will freemysql.net work?
I'm having trouble creating a database with xeround.

It's really only my blindness that's getting in the way though, it isn't the website's falt.

yes.
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthr...62#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #30    
Old March 9th, 2012, 11:36 AM
overstood
Beginning Trainer
 
Join Date: Mar 2012
Can you fix it/ tell me how to fix?
Reply With Quote
  #31    
Old March 9th, 2012, 11:47 AM
Ho-oh 112's Avatar
Ho-oh 112
Advance Scripter
 
Join Date: Feb 2011
Age: 18
Gender: Male
Nature: Hasty
Quote:
Originally Posted by overstood View Post
Can you fix it/ tell me how to fix?

check first post, I uploaded a .zip file with the fix.

if it still doesn't work:

rename everything in the script that says:

pbconnectSql()
to:
pbSqlConnect()


I mixed up the names of them.
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthr...62#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #32    
Old March 9th, 2012, 12:12 PM
pokemonmasteraaron's Avatar
pokemonmasteraaron
The blind Pokémon Master!
 
Join Date: Jan 2011
Location: In the forest of an undiscovered region
Age: 18
Gender: Male
Nature: Relaxed
Send a message via Skype™ to pokemonmasteraaron
So, does this look right?
I won't know if it works until somebody who can see gets home and reads me the event I've setup.

Host = "SQL09.FREEMYSQL.NET" # mysql server(local : 127.0.0.1)
User = "aaronbaker" # mysql user
Pass = "freemysql password (note that isn't my password!)" # mysql password
Base = "pokemontourney" # base name
Port = 3306 # server port (default: 3306)
I wasn't sure what port to put, as I didn't see one listed in my database
As I said, I won't know if it worked until somebody get's home, but I do know I don't get any
exeption run time errors
or any other errors that cut off the game.
__________________
Game developer.
Not nearly as active on here as I used to be.
Still like meeting and talking to pokemon fanatics like myself.
Reply With Quote
  #33    
Old March 9th, 2012, 01:17 PM
Ho-oh 112's Avatar
Ho-oh 112
Advance Scripter
 
Join Date: Feb 2011
Age: 18
Gender: Male
Nature: Hasty
Quote:
Originally Posted by pokemonmasteraaron View Post
So, does this look right?
I won't know if it works until somebody who can see gets home and reads me the event I've setup.

Host = "SQL09.FREEMYSQL.NET" # mysql server(local : 127.0.0.1)
User = "aaronbaker" # mysql user
Pass = "freemysql password (note that isn't my password!)" # mysql password
Base = "pokemontourney" # base name
Port = 3306 # server port (default: 3306)
I wasn't sure what port to put, as I didn't see one listed in my database
As I said, I won't know if it worked until somebody get's home, but I do know I don't get any
exeption run time errors
or any other errors that cut off the game.

Looks fine to me, also I'll be adding a .sql file that holds the correct table for the trades later.
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthr...62#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #34    
Old March 9th, 2012, 05:56 PM
pokemonmasteraaron's Avatar
pokemonmasteraaron
The blind Pokémon Master!
 
Join Date: Jan 2011
Location: In the forest of an undiscovered region
Age: 18
Gender: Male
Nature: Relaxed
Send a message via Skype™ to pokemonmasteraaron
Well, it isn't right.
I have some ideas on fixing it, but I'm still going to tell you the simptums incase it isn't a server problem.
One.
When uploading my ivysaur to the database, I get an acception run time error.


---------------------------
Pokémon Tourney, The corrupted soul
---------------------------
Script 'Interpreter' line 275: RuntimeError occurred.

Script error within event 12, map 1 (Pokemon Center):Exception: NoMethodErrorMessage: Section144:363:in `pbUploadPokemonGTS'undefined method `pbConnectSql' for #<Interpreter:0x87bfe78>***Full script:pokemondatahere=pbChoosePokemon(1,3)
pbUploadList(pokemondatahere)
Interpreter:243:in `pbExecuteScript'mySQL Trade:355:in `pbUploadList'mySQL Trade:299:in `loop'mySQL Trade:359:in `pbUploadList'(eval)in `pbExecuteScript'Interpreter:1592:in `eval'Interpreter:243:in `pbExecuteScript'Interpreter:1592:in `command_355'Interpreter:493:in `execute_command'Interpreter:193:in `update'
---------------------------
OK
---------------------------

When searching.
Game freezes, and than
Rgss player has stoped responding.
Windows is looking for a solution to the problem.
Or something like that.
__________________
Game developer.
Not nearly as active on here as I used to be.
Still like meeting and talking to pokemon fanatics like myself.
Reply With Quote
  #35    
Old March 9th, 2012, 09:59 PM
overstood
Beginning Trainer
 
Join Date: Mar 2012
After the ''fix''



---------------------------
Exception: RuntimeError

Message: Script error within event 13, map 38 (Route 1):

Exception: NoMethodError

Message: Section142:363:in `pbUploadPokemonGTS'undefined method `pbpbSqlConnect' for #<Interpreter:0x99908a0>

***Full script:

PokeData=pbChoosePokemon(1,3)
pbUploadList(PokeData)


Interpreter:243:in `pbExecuteScript'

mySQL Trade:355:in `pbUploadList'

mySQL Trade:299:in `loop'

mySQL Trade:359:in `pbUploadList'

(eval)in `pbExecuteScript'

Interpreter:1593:in `eval'

Interpreter:243:in `pbExecuteScript'

Interpreter:1593:in `command_355'

Interpreter:494:in `execute_command'

Interpreter:193:in `update'



Interpreter:276:in `pbExecuteScript'

Interpreter:1593:in `command_355'

Interpreter:494:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:103:in `update'

Scene_Map:101:in `loop'

Scene_Map:114:in `update'

Scene_Map:68:in `main'
Reply With Quote
  #36    
Old March 10th, 2012, 05:44 AM
pokemonmasteraaron's Avatar
pokemonmasteraaron
The blind Pokémon Master!
 
Join Date: Jan 2011
Location: In the forest of an undiscovered region
Age: 18
Gender: Male
Nature: Relaxed
Send a message via Skype™ to pokemonmasteraaron
Quote:
Originally Posted by overstood View Post
After the ''fix''



---------------------------
Exception: RuntimeError

Message: Script error within event 13, map 38 (Route 1):

Exception: NoMethodError

Message: Section142:363:in `pbUploadPokemonGTS'undefined method `pbpbSqlConnect' for #<Interpreter:0x99908a0>

***Full script:

PokeData=pbChoosePokemon(1,3)
pbUploadList(PokeData)


Interpreter:243:in `pbExecuteScript'

mySQL Trade:355:in `pbUploadList'

mySQL Trade:299:in `loop'

mySQL Trade:359:in `pbUploadList'

(eval)in `pbExecuteScript'

Interpreter:1593:in `eval'

Interpreter:243:in `pbExecuteScript'

Interpreter:1593:in `command_355'

Interpreter:494:in `execute_command'

Interpreter:193:in `update'



Interpreter:276:in `pbExecuteScript'

Interpreter:1593:in `command_355'

Interpreter:494:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:103:in `update'

Scene_Map:101:in `loop'

Scene_Map:114:in `update'

Scene_Map:68:in `main'

I got a similar error see above post.
I thought it was because of mysql database, but maybe not if you get an almost identical error.
__________________
Game developer.
Not nearly as active on here as I used to be.
Still like meeting and talking to pokemon fanatics like myself.
Reply With Quote
  #37    
Old March 11th, 2012, 04:50 AM
venom12's Avatar
venom12
Pokemon Crystal Rain Relased
 
Join Date: Sep 2006
Age: 23
Gender: Male
Nature: Adamant
Send a message via Windows Live Messenger to venom12
I dont know what is it with that but first i got "script is hanging. the game will restart." then unable to connect to database. I have set up everything but nothing works.
__________________



Reply With Quote
  #38    
Old March 11th, 2012, 05:21 AM
overstood
Beginning Trainer
 
Join Date: Mar 2012
Quote:
Originally Posted by venom12 View Post
I dont know what is it with that but first i got "script is hanging. the game will restart." then unable to connect to database. I have set up everything but nothing works.
I feel the same.

Please don't contribute Scripts which are just not working.
.___________.''
Reply With Quote
  #39    
Old March 11th, 2012, 01:45 PM
p.claydon
 
Join Date: Jan 2011
Gender:
yh this scripts just does not work for me
Reply With Quote
  #40    
Old March 11th, 2012, 03:45 PM
pokemonmasteraaron's Avatar
pokemonmasteraaron
The blind Pokémon Master!
 
Join Date: Jan 2011
Location: In the forest of an undiscovered region
Age: 18
Gender: Male
Nature: Relaxed
Send a message via Skype™ to pokemonmasteraaron
there's probably just some simple explanation, the script is setup well, there's just something we're missing.
Hopefully Ho-oh112 will get back to us soon.
__________________
Game developer.
Not nearly as active on here as I used to be.
Still like meeting and talking to pokemon fanatics like myself.
Reply With Quote
  #41    
Old March 12th, 2012, 06:13 AM
Ho-oh 112's Avatar
Ho-oh 112
Advance Scripter
 
Join Date: Feb 2011
Age: 18
Gender: Male
Nature: Hasty
sorry for being offline, but that's not my script, it's the connection with the mySQL server.


EDIT: Fixed up the error report.
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthr...62#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566

Last edited by Ho-oh 112; March 12th, 2012 at 06:37 AM.
Reply With Quote
  #42    
Old March 12th, 2012, 07:45 AM
pokemonmasteraaron's Avatar
pokemonmasteraaron
The blind Pokémon Master!
 
Join Date: Jan 2011
Location: In the forest of an undiscovered region
Age: 18
Gender: Male
Nature: Relaxed
Send a message via Skype™ to pokemonmasteraaron
what about my earlier posts.
the rgss player and the script error?
__________________
Game developer.
Not nearly as active on here as I used to be.
Still like meeting and talking to pokemon fanatics like myself.
Reply With Quote
  #43    
Old March 12th, 2012, 08:04 AM
Ho-oh 112's Avatar
Ho-oh 112
Advance Scripter
 
Join Date: Feb 2011
Age: 18
Gender: Male
Nature: Hasty
Quote:
Originally Posted by pokemonmasteraaron View Post
what about my earlier posts.
the rgss player and the script error?


The rgss player not working is something I'm looking into currently, like I said it did work before

and the other error I don't know really, but I'm looking into that too (I think they are related issues)


EDIT: I relooked at your post, you didn't update yet, please get the new trade (you only need to re-import the trade script.)
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthr...62#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #44    
Old March 12th, 2012, 08:50 AM
pokemonmasteraaron's Avatar
pokemonmasteraaron
The blind Pokémon Master!
 
Join Date: Jan 2011
Location: In the forest of an undiscovered region
Age: 18
Gender: Male
Nature: Relaxed
Send a message via Skype™ to pokemonmasteraaron
that fixed the script error.
I don't get any script errors now, just rgss player stops responding for both uploading to, and searching the database.
Let me know if you figure something out.
__________________
Game developer.
Not nearly as active on here as I used to be.
Still like meeting and talking to pokemon fanatics like myself.
Reply With Quote
  #45    
Old March 13th, 2012, 06:07 AM
Ho-oh 112's Avatar
Ho-oh 112
Advance Scripter
 
Join Date: Feb 2011
Age: 18
Gender: Male
Nature: Hasty
Quote:
Originally Posted by pokemonmasteraaron View Post
that fixed the script error.
I don't get any script errors now, just rgss player stops responding for both uploading to, and searching the database.
Let me know if you figure something out.


Yeah, I'm looking into that too, but you don't get the "Unable to connect to the database error" right?
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthr...62#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #46    
Old March 13th, 2012, 09:24 AM
pokemonmasteraaron's Avatar
pokemonmasteraaron
The blind Pokémon Master!
 
Join Date: Jan 2011
Location: In the forest of an undiscovered region
Age: 18
Gender: Male
Nature: Relaxed
Send a message via Skype™ to pokemonmasteraaron
No.
I changed hosts to db4free and got one, but I switched back to freemysql.net and I don't get any errors, not even failed to conect to the database.
Just the rgss problem.
I can only assume it actually is conecting, but it is confused on how to operate the database?
__________________
Game developer.
Not nearly as active on here as I used to be.
Still like meeting and talking to pokemon fanatics like myself.
Reply With Quote
  #47    
Old March 13th, 2012, 10:44 AM
Ho-oh 112's Avatar
Ho-oh 112
Advance Scripter
 
Join Date: Feb 2011
Age: 18
Gender: Male
Nature: Hasty
Quote:
Originally Posted by pokemonmasteraaron View Post
No.
I changed hosts to db4free and got one, but I switched back to freemysql.net and I don't get any errors, not even failed to conect to the database.
Just the rgss problem.
I can only assume it actually is conecting, but it is confused on how to operate the database?


no, I think it's my script's problem... I had this once but I forgot how to fix it...
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthr...62#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #48    
Old March 13th, 2012, 12:50 PM
pokemonmasteraaron's Avatar
pokemonmasteraaron
The blind Pokémon Master!
 
Join Date: Jan 2011
Location: In the forest of an undiscovered region
Age: 18
Gender: Male
Nature: Relaxed
Send a message via Skype™ to pokemonmasteraaron
o-right.
I'm not really a scripter, at all, so I wouldn't know what the problem is.
I don't think there are really any scripting tutorials out there.
I tried making a script once, but I went about it the wrong way.
It was supposed to run an application in the game folder.
It was only three lines, and it epically failed.
__________________
Game developer.
Not nearly as active on here as I used to be.
Still like meeting and talking to pokemon fanatics like myself.
Reply With Quote
  #49    
Old March 13th, 2012, 01:56 PM
Ho-oh 112's Avatar
Ho-oh 112
Advance Scripter
 
Join Date: Feb 2011
Age: 18
Gender: Male
Nature: Hasty
Quote:
Originally Posted by pokemonmasteraaron View Post
o-right.
I'm not really a scripter, at all, so I wouldn't know what the problem is.
I don't think there are really any scripting tutorials out there.
I tried making a script once, but I went about it the wrong way.
It was supposed to run an application in the game folder.
It was only three lines, and it epically failed.

No I'm working on the fix + version 2.0
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthr...62#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #50    
Old March 13th, 2012, 04:56 PM
pokemonmasteraaron's Avatar
pokemonmasteraaron
The blind Pokémon Master!
 
Join Date: Jan 2011
Location: In the forest of an undiscovered region
Age: 18
Gender: Male
Nature: Relaxed
Send a message via Skype™ to pokemonmasteraaron
I'll check back on this thread daily for the update.
Thanks, this is going to be awesome
__________________
Game developer.
Not nearly as active on here as I used to be.
Still like meeting and talking to pokemon fanatics like myself.
Reply With Quote
Reply
Quick Reply

Sponsored Links


Advertise here
Thread Tools

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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 10:53 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.