Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-25-2001, 03:53 PM
Mithica_GP6 Mithica_GP6 is offline
Registered User
Join Date: Aug 2001
Location: Newzealand
Posts: 13
Mithica_GP6 is on a distinguished road
Send a message via AIM to Mithica_GP6
Unhappy Chicken Mining

Ok i made this script in like 20-30 mins
and its got one bug i know of so far it's when u reconnect or leave the level and come back in it resets ur rock count which
i can figure out whats wrong heh should i use this.
or server.rocks sorta stuff;,And i need some help making a
crafting thing like on g2k1 and Un like u get 10 rocks and u can make them into a blue rupee or if u get 130 rocks u can carve it into a axe And the onwall is really really shabby
And i do not give anyone the rights to use this
on there server or trading it for other scripts notice the-----> ©
Ohh and if u can help me on this post a reply or my aim is
HChckn
and email is
[email protected]

// Npc Made by ~¤â€*Chickenâ€*¤~
if (playerenters) {
rocknumber=strtofloat(#s(rock));
toweapons Pick Axe;
show;
}
if (playertouchsme) {
toweapons Pick Axe;
blockagain;
drawunderplayer;
show;
}
if (weaponfired&&onwall(players[0].x+1,players[0].y-.5)||onwater(players[0].x,players[0].y+1)||onwater(players[0].x+3,players[0].y+1)||onwater(players[0].x+1,players[0].y+3.5&&(strequals(#L,dark-realms_mine.graal)))){

freezeplayer 3;
playersprite=0;
mining=random(0,100);
timeout=.5;
}

if (mining>40&&mining<59&&timeout) {
mining();

sleep .1;
play chest.wav;
setplayerprop #c,I Got a Rock!!;setani dark-realms_rockfind,;playerdir=2;freezeplayer2;
rocknumber=strtofloat(#s(mining));
rock+=1;
}
if (mining>20&&mining<39&&timeout) {
mining();

sleep .1;
setplayerprop #c,No Rock's Around aye;
}
if (mining>0&&mining<19&&timeout) {
mining();
sleep .1;
setplayerprop #c,..!Show Me The Rock's!..;
}
if (mining>60&&mining<79&&timeout) {
mining();

sleep .1;
setplayerprop #c,"Scratches Arm Pits";
}
if (mining>80&&mining<100&&timeout) {
mining();

sleep .1;
setplayerprop #c,Hmm Im Only Getting Dirt!..;
}
function mining() {
putleaps2,playerx,playery;
playersprite=33;
sleep .5;
play arrowon.wav;
sleep 1;
play lift.wav;
sleep .1;
play arrowon.wav;
}
if (playerchats&&strequals(#c,Show Rocks)) {
setplayerprop #c,I have #v(rock) Rocks!;
}
//© To Chicken's Graal 2001 Scripts

__________________
Howard James Campbell
Reply With Quote
  #2  
Old 10-25-2001, 04:02 PM
toad1413 toad1413 is offline
toad@graal:~$ ./Oldbie
Join Date: May 2001
Location: Aust.
Posts: 3,819
toad1413 is on a distinguished road
Send a message via ICQ to toad1413
Re: Chicken Mining

Quote:
Originally posted by Mithica_GP6
Ok i made this script in like 20-30 mins
and its got one bug i know of so far it's when u reconnect or leave the level and come back in it resets ur rock count which
i can figure out whats wrong heh should i use this.
or server.rocks sorta stuff;,And i need some help making a
crafting thing like on g2k1 and Un like u get 10 rocks and u can make them into a blue rupee or if u get 130 rocks u can carve it into a axe And the onwall is really really shabby
And i do not give anyone the rights to use this
on there server or trading it for other scripts notice the-----> ©
Ohh and if u can help me on this post a reply or my aim is
HChckn
and email is
[email protected]

// Npc Made by ~¤â€*Chickenâ€*¤~
if (playerenters) {
rocknumber=strtofloat(#s(rock));
toweapons Pick Axe;
show;
}
if (playertouchsme) {
toweapons Pick Axe;
blockagain;
drawunderplayer;
show;
}
if (weaponfired&&onwall(players[0].x+1,players[0].y-.5)||onwater(players[0].x,players[0].y+1)||onwater(players[0].x+3,players[0].y+1)||onwater(players[0].x+1,players[0].y+3.5&&(strequals(#L,dark-realms_mine.graal)))){

freezeplayer 3;
playersprite=0;
mining=random(0,100);
timeout=.5;
}

if (mining>40&&mining<59&&timeout) {
mining();

sleep .1;
play chest.wav;
setplayerprop #c,I Got a Rock!!;setani dark-realms_rockfind,;playerdir=2;freezeplayer2;
rocknumber=strtofloat(#s(mining));
rock+=1;
}
if (mining>20&&mining<39&&timeout) {
mining();

sleep .1;
setplayerprop #c,No Rock's Around aye;
}
if (mining>0&&mining<19&&timeout) {
mining();
sleep .1;
setplayerprop #c,..!Show Me The Rock's!..;
}
if (mining>60&&mining<79&&timeout) {
mining();

sleep .1;
setplayerprop #c,"Scratches Arm Pits";
}
if (mining>80&&mining<100&&timeout) {
mining();

sleep .1;
setplayerprop #c,Hmm Im Only Getting Dirt!..;
}
function mining() {
putleaps2,playerx,playery;
playersprite=33;
sleep .5;
play arrowon.wav;
sleep 1;
play lift.wav;
sleep .1;
play arrowon.wav;
}
if (playerchats&&strequals(#c,Show Rocks)) {
setplayerprop #c,I have #v(rock) Rocks!;
}
//© To Chicken's Graal 2001 Scripts

Well, I don't know waht to do to fix it, but I'm glad that it's normal mining. I kinda was wondering how you could mine chickens... but nevermind.
__________________
Creator of the original 'spam' icon. Worst mistake I ever made on these forums.
Reply With Quote
  #3  
Old 10-25-2001, 04:06 PM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
Re: Chicken Mining

Quote:
Originally posted by Mithica_GP6
Ok i made this script in like 20-30 mins
and its got one bug i know of so far it's when u reconnect or leave the level and come back in it resets ur rock count which
i can figure out whats wrong heh should i use this.
or server.rocks sorta stuff;,And i need some help making a
crafting thing like on g2k1 and Un like u get 10 rocks and u can make them into a blue rupee or if u get 130 rocks u can carve it into a axe And the onwall is really really shabby
And i do not give anyone the rights to use this
on there server or trading it for other scripts notice the-----> ©
Ohh and if u can help me on this post a reply or my aim is
HChckn
and email is
[email protected]

// Npc Made by ~¤â€*Chickenâ€*¤~
if (playerenters) {
rocknumber=strtofloat(#s(rock));
toweapons Pick Axe;
show;
}
if (playertouchsme) {
toweapons Pick Axe;
blockagain;
drawunderplayer;
show;
}
if (weaponfired&&onwall(players[0].x+1,players[0].y-.5)||onwater(players[0].x,players[0].y+1)||onwater(players[0].x+3,players[0].y+1)||onwater(players[0].x+1,players[0].y+3.5&&(strequals(#L,dark-realms_mine.graal)))){

freezeplayer 3;
playersprite=0;
mining=random(0,100);
timeout=.5;
}

if (mining>40&&mining<59&&timeout) {
mining();

sleep .1;
play chest.wav;
setplayerprop #c,I Got a Rock!!;setani dark-realms_rockfind,;playerdir=2;freezeplayer2;
rocknumber=strtofloat(#s(mining));
rock+=1;
}
if (mining>20&&mining<39&&timeout) {
mining();

sleep .1;
setplayerprop #c,No Rock's Around aye;
}
if (mining>0&&mining<19&&timeout) {
mining();
sleep .1;
setplayerprop #c,..!Show Me The Rock's!..;
}
if (mining>60&&mining<79&&timeout) {
mining();

sleep .1;
setplayerprop #c,"Scratches Arm Pits";
}
if (mining>80&&mining<100&&timeout) {
mining();

sleep .1;
setplayerprop #c,Hmm Im Only Getting Dirt!..;
}
function mining() {
putleaps2,playerx,playery;
playersprite=33;
sleep .5;
play arrowon.wav;
sleep 1;
play lift.wav;
sleep .1;
play arrowon.wav;
}
if (playerchats&&strequals(#c,Show Rocks)) {
setplayerprop #c,I have #v(rock) Rocks!;
}
//© To Chicken's Graal 2001 Scripts

lel chicken mining

just whack them chickens wit joo axe and they be dead@#!
Reply With Quote
  #4  
Old 10-25-2001, 08:36 PM
Shard_IceFire Shard_IceFire is offline
Registered User
Shard_IceFire's Avatar
Join Date: Jun 2001
Location: Eastern Harkoonia
Posts: 861
Shard_IceFire is on a distinguished road

I clicked this thread hoping to see some l33t new activity called 'chicken mining' but *sigh* ... nevermind.
__________________

-=Shard IceFire=-
Reply With Quote
  #5  
Old 10-25-2001, 10:15 PM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Dang...Now I've got to think up some way to make chicken mining...That would be so fun!!
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote
  #6  
Old 10-27-2001, 03:26 AM
Mithica_GP6 Mithica_GP6 is offline
Registered User
Join Date: Aug 2001
Location: Newzealand
Posts: 13
Mithica_GP6 is on a distinguished road
Send a message via AIM to Mithica_GP6
Bah u guy's/Gal's come on help me out wit dah script lol's

Hmm i post a script that semi works and all i get is chicken mining
lol's Chicken is mah Graal nick = ) but thanxs for the Chicken
Mining idea ill make chicken pop out of the wall on a new script
but first some one help on that script the mining one of mine
it dont save ur rocks if you leave = ( and i gotta think how to make a lil carving machine = ).................
__________________
Howard James Campbell
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 06:22 AM.


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