| Vendettas coder/wz edit/npc app | |
|
|
Author | Message |
---|
[Coder]Vendetta
Posts : 39 Join date : 2011-05-18
| Subject: Vendettas coder/wz edit/npc app Wed May 18, 2011 4:16 pm | |
| Name:Ryan
Age:17
Timezone:GMt 9+
How many hours you can be on a day:35 weekdays 12+ weekends on wenesdays i have a coding class so not that day
Have you ever Coded in any other servers? If so, please give proof: [Only admins are allowed to see this link] and thats itGive me an example of an NPC Script(GOOD ONE!):Gachapon NPC */ prizes=[INSERT, ITEM, IDS, HERE, AS, AN, ARRAY]; // Insert your item ID's here random=Math.floor(Math.random() * prizes.length++); var chunkymonkey=0;
function start() { cm.sendYesNo("Would you like to use your Gachapon Ticket?"); }
function action(m,t,s){ cm.dispose(); if(m<1){ cm.dispose(); }else{ chunkymonkey++; } if(chunkymonkey==1){ if(cm.haveItem(5220000,1)){ // edit this item ID to whatever you want (I used the reg gachapon ticket) cm.gainItem(prizes[random],1); cm.gainItem(5220000,-1); // if you changed the above ID, make sure you change this one too }else{ cm.sendOk("Come back when you have a Gachapon Ticket"); cm.dispose(); } }else{ cm.sendOk("Come back when your ready to take a chance at fortune!"); cm.dispose(); } } Give me an example of a MYSQL Script(GOOD ONE!): # queries the books table in database wbluhm on multivac
use DBI; use strict;
my ($dsn) = "DBI:mysql:wbluhm:multivac.sdsc.edu"; # data source name my ($user_name) = "wbluhm"; # user name my ($password) = ""; # password my ($dbh, $sth); # database and statement handles my (@ary); # array for rows returned by query
# connect to database $dbh = DBI->connect ($dsn, $user_name, $password, { RaiseError => 1 });
# issue query my $query = qq{ SELECT title, author, comment FROM books WHERE topic="Java" }; $sth = $dbh->prepare ( $query ); $sth->execute ();
# read results of query, then clean up while (@ary = $sth->fetchrow_array ()) { print join (" | ", @ary), "\n"; } $sth->finish ();
$dbh->disconnect (); exit (0); Java Example: JavaBooks.java // queries the books table in database wbluhm on multivac
import java.sql.*; public class JavaBooks { public static void main(String[] args) {
try { Class.forName("org.gjt.mm.mysql.Driver").newInstance(); } catch (Exception E) { System.err.println("Unable to load driver"); E.printStackTrace(); }
try { Connection C = DriverManager.getConnection( "jdbc:mysql://multivac.sdsc.edu/wbluhm","wbluhm",""); Statement Stmt = C.createStatement();
ResultSet RS = Stmt.executeQuery ("SELECT title, author, comment " + " FROM books WHERE topic=\"Java\"");
while (RS.next()) { System.out.print("\"" + RS.getString(1) + "\""); System.out.print(" by " + RS.getString(2)); System.out.println(": " + RS.getString(3)); } C.close(); RS.close(); Stmt.close(); } catch (SQLException E) { System.out.println("SQLException: " + E.getMessage()); System.out.println("SQLState: " + E.getSQLState()); System.out.println("VendorError: " + E.getErrorCode()); } } }Do you have any GM experience? You may need it for GM'ing and Coding: i coded for rydahMs and i was co-owner to rydahMS also. and I have coded for 12 ms server and 5 wow server but i can also do wz edits and npcs easily so Ty for looking at my app Bye | |
|
| |
illest Mod
Posts : 68 Join date : 2011-05-01 Age : 30 Location : Sacramento, California; USA
| Subject: Re: Vendettas coder/wz edit/npc app Wed May 18, 2011 5:40 pm | |
| Two thumbs up :D hope you get the position because we really need a coder for this lovely server . | |
|
| |
eyyitzali
Posts : 44 Join date : 2011-05-11 Age : 29 Location : Under your bed <3
| Subject: Re: Vendettas coder/wz edit/npc app Wed May 18, 2011 5:47 pm | |
| looks good and u provided proof... did you seriously code for rydahms?
| |
|
| |
Daniel
Posts : 20 Join date : 2011-05-07
| Subject: Re: Vendettas coder/wz edit/npc app Wed May 18, 2011 6:36 pm | |
| I think this is it guys | |
|
| |
[Coder]Vendetta
Posts : 39 Join date : 2011-05-18
| Subject: Re: Vendettas coder/wz edit/npc app Wed May 18, 2011 6:53 pm | |
| ty and yes i coded for rydah and i was the co-owner and as of yesterday i was talking to mike= the owner of rydah and he agreed to make a new server and im gonna be co-owner again but itss v83 this time | |
|
| |
Daniel
Posts : 20 Join date : 2011-05-07
| Subject: Re: Vendettas coder/wz edit/npc app Thu May 19, 2011 4:24 am | |
| Wait so are you still gonna try and code for us. | |
|
| |
eyyitzali
Posts : 44 Join date : 2011-05-11 Age : 29 Location : Under your bed <3
| Subject: Re: Vendettas coder/wz edit/npc app Thu May 19, 2011 11:39 am | |
| - Daniel wrote:
- Wait so are you still gonna try and code for us.
i was thinking about asking the same question.... | |
|
| |
[Admin]prize
Posts : 12 Join date : 2011-04-28
| Subject: yah Thu May 19, 2011 3:37 pm | |
| why make the app if ur gonna be a co owner on another server personaly i think u need to be completely dedicated to this server before u code for us | |
|
| |
[Coder]Vendetta
Posts : 39 Join date : 2011-05-18
| Subject: Re: Vendettas coder/wz edit/npc app Thu May 19, 2011 6:28 pm | |
| what dude i am dedicated to coding for u i said that he was makeing a new server and i might be co-owner to his new server but if i get Coder here ill tell him no cause i am dedicated to a server i wanna code for ur server over being hi co-owner so ye | |
|
| |
illest Mod
Posts : 68 Join date : 2011-05-01 Age : 30 Location : Sacramento, California; USA
| Subject: Re: Vendettas coder/wz edit/npc app Thu May 19, 2011 7:07 pm | |
| - highfi5e wrote:
- what dude i am dedicated to coding for u i said that he was makeing a new server and i might be co-owner to his new server but if i get Coder here ill tell him no cause i am dedicated to a server i wanna code for ur server over being hi co-owner so ye
Glad to know that you're willing to become the server's coder over being a co-owner. total winnnn <3 :D | |
|
| |
[Coder]Vendetta
Posts : 39 Join date : 2011-05-18
| Subject: Re: Vendettas coder/wz edit/npc app Thu May 19, 2011 7:16 pm | |
| thanx illest i hope i get coder for this server ill hope to improve it quick | |
|
| |
Life Guest
| Subject: Re: Vendettas coder/wz edit/npc app Sun May 22, 2011 12:21 am | |
| Interesting application; and those FM edits, aren't those Lexii's? idyllicstory.forumn.org/t512-lexii-s-mapwz-d |
|
| |
[Coder]Vendetta
Posts : 39 Join date : 2011-05-18
| Subject: Re: Vendettas coder/wz edit/npc app Sun May 22, 2011 1:42 pm | |
| i played the server and i was on her account once to fix sumthing but other wise we got ne wFM wz edits | |
|
| |
Life Guest
| Subject: Re: Vendettas coder/wz edit/npc app Sun May 22, 2011 4:39 pm | |
| Yeah, I know. Those wz edits were made by Alpha from D.ChaosMS |
|
| |
Sponsored content
| Subject: Re: Vendettas coder/wz edit/npc app | |
| |
|
| |
| Vendettas coder/wz edit/npc app | |
|