Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Can you use this NPC on a server? (https://forums.graalonline.com/forums/showthread.php?t=2921)

habek 05-15-2001 10:39 AM

Can you use this NPC on a server?
 
My friend has an NPC called Demonic Aspect:cool:.
What it does is it changes your sword power to level5, but it reduces your AP.
Is that legal? Can he use that on a server? :confused:

KJS 05-15-2001 07:26 PM

I beleve you can
 
I beleve you can do it and legally...
but I am not positive

Tyhm 05-16-2001 06:58 AM

Dun think you can edit AP with a NPC anymore

everandom 05-16-2001 08:26 AM

I can do it....
 
without bugs....
and i know how to do it...
coz im the maker of it not Lord K@ne
I know that i can make it without bug as ive been making npcs for .5 year.

:mad: AND IM SURE I CAN DO IT...
as on the offline version it does work even after save....:p
and the quest to get it very hard too....
and then u need to buy it for 100000 rupees(N-Pulse)

Admins 05-17-2001 06:20 AM

Ap changing is only possible on npcserver

Falcor 05-17-2001 08:11 AM

but...
 
Yes but only in SERVERSIDE npcs... Like wepons and //#CLIENTSIDE NPCs cant edit AP...
Thts so bad old cheeters dont be stupid and make a wepon that can make your ap 100 and kill mindlessly... You can also edit names and playerhearts and playerfullhearts I belive.. =)

everandom 05-17-2001 08:21 AM

eventhough i tried i use the players[index].ap=players[index].ap-1;
does it can't do it in non npc server???
:confused:

so is there anyway i could do it??? in non npc server???
which is the server that have NPC server on it????

Falcor 05-17-2001 08:33 AM

Noperz
 
Read heading of this reply ^^;

I recommend that you skim through a grammar book. I hardly could tell what you were trying to say! LoL

JinZero 06-13-2001 11:47 PM

on cda, i elrond made a smoking npc, and if u smoke your ap goes down, i think he made it, im not sure though

XilosTinsu 06-14-2001 02:42 AM

what if you do:
if (timeout) {playerap=100;
timeout=.05}
Wouldn't that work, it would probably make a little lag, I don't know for sure, but wouldn't that work?

AlexH 06-14-2001 02:43 AM

wow
a smoking NPC that must have took like 2 secs too make
soooooooooo easy

AlexH 06-14-2001 02:44 AM

infact
here we go

if (weaponfired) {
setani whatever,;playerap-=5
}

OMG
that was soooooooooo hard

General 06-15-2001 12:05 AM

Nope, you cant change AP on a non-NPCserv PW, Remember back in the days of classic, with a little man who was selling green chests for 1000g? if you got the AP, it went up for 5 min. then went back down, I remember bashing my computer with a mallet, trying to figure out why GCM is cheating me out of 1000g. Oh well, I got it back once People figured out the bank glitch ahahahahahahahahah n00bies

freddyfox 06-15-2001 12:49 AM

Quote:

Originally posted by AlexH
infact
here we go

if (weaponfired) {
setani whatever,;playerap-=5
}


Are you acting stupid to try and impress us?

NPC Code:

if(weaponfired&&this.smoking==0){
this.smoking = 1;
setplayergani smoking.gani;
timeout = 6;
}
if(timeout&&this.smoking==1){
//insert the NPC server -ap script here
timeout = 6;
}
if(weaponfired&&this.smoking==1){
this.smoking = 0;
}




All times are GMT +2. The time now is 08:44 AM.

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