So you have added this NPC to your Arcadia database dbo.NPCResource, and saved the dbo.NPCResource to a db_npcresource(ascii).rdb for the client resource folder, hashed the name to {T%xMK%GJJ2x-SL53SGYBZ{Hd#.E@Ip8bH5pr
And it does not work?
Maybe you should just try the server init thing again but use my buff scripts and see what happens on server init.
So you have added this NPC to your Arcadia database dbo.NPCResource, and saved the dbo.NPCResource to a db_npcresource(ascii).rdb for the client resource folder, hashed the name to {T%xMK%GJJ2x-SL53SGYBZ{Hd#.E@Ip8bH5pr
And it does not work?
Maybe you should just try the server init thing again but use my buff scripts and see what happens on server init.
(Don't forget you need to restart your servers)
npc dont need to resource it
it will appear anyway
Maybe you should just try the server init thing again but use my buff scripts and see what happens on server init.
(Don't forget you need to restart your servers)
Just curious when you put this in...
Quote:
Originally Posted by cs189
USE Arcadia
GO
INSERT INTO [NPCResource] VALUES (9977,100011401,105011401,99,2,location x,location y,0,280,0,'false','2000-01-01 00:00:00.000','2100-01-01 00:00:00.000',3,-3,16,'demon_baphometLv3',0,0,250003,0,0,0,0,303302 ,304501,0,0,413100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'your npc contact script from lua',-1,0);
go
Nope the event states I gave you are already in the database.
But you do need to add them to server_init.lua just as they were given...
Code:
function on_server_init()
roaming()
rare_mob()
guardian_spawn()
random_respawn()
buffs()
end
function buffs()
add_event_state(1013,20)
add_event_state(1007,15)
add_event_state(1008,15)
add_event_state(1002,10)
add_event_state(1001,10)
end
Because that is exactly the script I have in mine and I have buffs when I log in.
Well almost exactly what I have...
Code:
function on_server_init()
roaming()
rare_mob()
guardian_spawn()
random_respawn()
PandoraServerBuff()
end
function PandoraServerBuff()
add_event_state(1013,20)
add_event_state(1007,15)
add_event_state(1008,15)
add_event_state(1002,10)
add_event_state(1001,10)
end
Plus all the stuff in the middle.
See the only thing different is what I have named my buff function and mine buffs me.
Let me take a wild stab at something.
What are you editing your files with?
Maybe notepad or wordpad?
Did you change your folder options on your computer? Specifically the one for "Hide extensions for known file types" and turn that off?
There is a possiblility that you are saving your .lua file as a plain text file.
So you get b4e51c7c6f9cd671cf2bb33b2aa2d263.lua.txt but dont see the .txt making it a useless .lua file but you will not know until you check your mob spawns.