
Originally Posted by
theDomo
@
xSpeedx however until I can figure out how to get all of the data in their correctly he still going to be limited he's using the data that I'm creating I'm trying to get all of the issues fixed but I'm getting close but it's not there yet I'm just having problems with tears +30 as well as some weapons and armor are broken however in today's patch some of that will be fixed and also I'll be throwing in that One DB you mentioned and also the animations for spells are fixed in the new patch that will be out today
- - - Updated - - -
@
Janebug you know what to be 100% honest I was thinking about changing the structure so that way no one can use the data from my clients but I decided hey you know what after seeing this thread I've decided that I'm going to leave keep trying to fix the problem and then letting you guys know that I've gotten fixed and what else so that way it's kind of like me and you are cooperating lol thank you guys for making me feel more welcome in the community
As for the comments about your FDB , since I am only dealing with the Sql side mostly like items, objects, and npcs .. You have taken care of all the missing ones and what needed fix for the cosmetic issues, I never checked it, I needed good Maps so Mageoski lead me to the correct one and i figured out the USA worked a lot better ... full maps ect, even in instances..
I clearly did not want to mention your client to anyone so you did not lose all you bandwidth, then I notice you had made comments about new data added and it was the exact same post i made ect. so i did not think it would hurt anything, I am glade your Back with us and the community is glade your here. I have gone thru a lot of the Lua code and noticed many things, so i started to do just that i have made Many new lua codes for npc to travel in pairs , sequence .. when i created the first 12 instance i just spawned in npcs hoping they would travel correctly in pairs when the servers reset, that was a big mistake on my part why only easy mode is done with most of the instance for movement. When i do my next release it will have a lot more Lua files , npcs will look just like the USA server for movements and in sequence together, I hope this way is the correct move, here is the code i created, and some of the break down on how it sets up ...
Code:
-------------------------------Vale of rights-------Janebug------------------------------------------------------------------------------------------------------
-- 3 Assassin of Vale 2 Combat Mage of the Vale
function Lua_Janebug60()
local dis = 20 -- array spacing
local count = 3 -- The size of the array, input 3 will be a 3*3 array; but because the number of rows must be an odd number, input 4 will be a 5*4 array.
local checktime = 10 -- The time interval of judgment, the lower the value, the higher the frequency of judgment, the more natural, but the more resources it consumes
local ReviveTime = 600000 -- When all the objects in the array disappear, the array will be reset. If -1 is filled in, it will be reset according to the rebirth time set by OwnerID()
local circle = 6000 -- How many cycles are completely respawned once? If 0 is filled in, the rebirth will only occur when all objects disappear
local Matrix = LuaFunc_Matrix_Maker( dis , count ) -- Create a table and use LuaFunc_CreateNPCByMatrix(ObjID,Matrix,A,B) to generate objects where you want to generate objects. The four numbers represent in sequence 1. The ID of the object to be generated 2. The array used as a reference 3. The column position 4. The row position
local SkillRND = Rand( 100 )+2 --
if SkillRND <= 100 and SkillRND > 80 then
checktime = checktime + 1
elseif SkillRND <= 80 and SkillRND > 60 then
checktime = checktime + 2
elseif SkillRND <= 60 and SkillRND > 40 then
checktime = checktime + 3
elseif SkillRND <= 40 and SkillRND > 20 then
checktime = checktime + 4
elseif SkillRND <= 20 and SkillRND > 0 then
checktime = checktime + 5
end
local ObjMatrix ={}
ObjMatrix[1] = LuaFunc_CreateNPCByMatrix(100381,Matrix,2,-1)
ObjMatrix[2] = LuaFunc_CreateNPCByMatrix(100381,Matrix,2,1)
ObjMatrix[3] = LuaFunc_CreateNPCByMatrix(100380,Matrix,3,-1)
ObjMatrix[4] = LuaFunc_CreateNPCByMatrix(100380,Matrix,3,0)
ObjMatrix[5] = LuaFunc_CreateNPCByMatrix(100380,Matrix,3,1)
LuaFunc_NPCWalkByMatrix_2( ObjMatrix , Matrix , dis , count , checktime , circle )
LuaFunc_ResetMatrix( ReviveTime , Matrix)
BeginPlot( OwnerID() , "Lua_Janebug61" , 0 )
end
function Lua_Janebug61()
sleep( 10 )
BeginPlot( OwnerID() , "Lua_Janebug60" , 0 )
end
as you can see it makes a array, here i have it setup as a 3*3 array, that makes 3 Assassin of Vale 2 Combat Mage of the Vale follow behind the npc you spawn in 100390 and give it the lua code "Lua_Janebug60" and path it will spawn in the 3 Assassins of vale and 2 combat mages right behind. "witch are not added to database" if the server resets then the Single Npc will stay and respawn the second the server is restarted.
Compare to Offical 
TheDomo I think this is the correct way to spawn a lot of these npc in and walk in unison with each other? If you have different thoughts please let me know.. all i can ask when i release next Version is to check out Val of rites...
thanks all
Janebug