This is a discussion on Old v15 source + Source addons within the Flyff Archive forums, part of the Flyff category; Someone Know how To work SFX Lua ...
it was Disabled in The Source ...
Now Its Enabled in My ...
Someone Know how To work SFX Lua ...
it was Disabled in The Source ...
Now Its Enabled in My Source but Nothing Happens =X
I think the Function isnt fully builded in :( ...
Someone knows More ? ^^
Someone Know how To work SFX Lua ...
it was Disabled in The Source ...
Now Its Enabled in My Source but Nothing Happens =X
I think the Function isnt fully builded in :( ...
Someone knows More ? ^^
Thank You ^^
When you help me with my post i'll say you how to do it
Originally Posted by rockzz
Spoiler:
When i added the thing with the bow its not working for me it's not scanning the right values from propJob.inc i think. Since i added this all my maxhp/maxfp/maxmp/crit/etc. is buggy and can't be read out anymore mymapfp and maxmp is 1 as example.
Here is my propJob.inc hope s.b. can help me to fix it
When you help me with my post i'll say you how to do it [/spoiler]
First i got this error too :D
But ...
It works for me ...
So uhm .. .Where are you From ?
Im German ...
so if youre German you could chat with me in german ...
If not ... in English ...
Add me in ICQ
My ICQNumber : 463-750-778
If You can help me with SFX Lua sure i will help you with this ...
So we will chat and i will help You to build in the Bow :)
First i got this error too :D
But ...
It works for me ...
So uhm .. .Where are you From ?
Im German ...
so if youre German you could chat with me in german ...
If not ... in English ...
Add me in ICQ
My ICQNumber : 463-750-778
If You can help me with SFX Lua sure i will help you with this ...
So we will chat and i will help You to build in the Bow :)
I've just come across what appears to be how to edit where you can PK in the arena. According to the math that i've done it's 100% accurate and if edited should change where you can attack.
Code:
#ifdef __JEFF_11_4
BOOL CMover::IsArenaTarget( CMover* pMover )
{
CWorld* pWorld = GetWorld();
if( pWorld && pWorld->IsArena() )
{
int dx = (int)( pMover->GetPos().x - 490 );
int dy = (int)( pMover->GetPos().z - 507 );
int d = dx * dx + dy * dy;
if( d > 1246 )
return FALSE;
dx = (int)( GetPos().x - 490 );
dy = (int)( GetPos().z - 507 );
d = dx * dx + dy * dy;
if( d > 1246 )
return FALSE;
return TRUE;
}
return FALSE;
The equation, judging by where you're standing in the arena actually works. I was standing just outside the arena and after the equation i got the number 1246.627537, which is JUST over 1246 hence it returns as false.
I've just come across what appears to be how to edit where you can PK in the arena. According to the math that i've done it's 100% accurate and if edited should change where you can attack.
Code:
#ifdef __JEFF_11_4
BOOL CMover::IsArenaTarget( CMover* pMover )
{
CWorld* pWorld = GetWorld();
if( pWorld && pWorld->IsArena() )
{
int dx = (int)( pMover->GetPos().x - 490 );
int dy = (int)( pMover->GetPos().z - 507 );
int d = dx * dx + dy * dy;
if( d > 1246 )
return FALSE;
dx = (int)( GetPos().x - 490 );
dy = (int)( GetPos().z - 507 );
d = dx * dx + dy * dy;
if( d > 1246 )
return FALSE;
return TRUE;
}
return FALSE;
The equation, judging by where you're standing in the arena actually works. I was standing just outside the arena and after the equation i got the number 1246.627537, which is JUST over 1246 hence it returns as false.
waw maths T__T
it's ezpz
if the distance from the centerpoint of the circle is higher then the radius, the player is outside of the circle. You can make the area bigger through changing that number...
I've just come across what appears to be how to edit where you can PK in the arena. According to the math that i've done it's 100% accurate and if edited should change where you can attack.
Code:
#ifdef __JEFF_11_4
BOOL CMover::IsArenaTarget( CMover* pMover )
{
CWorld* pWorld = GetWorld();
if( pWorld && pWorld->IsArena() )
{
int dx = (int)( pMover->GetPos().x - 490 );
int dy = (int)( pMover->GetPos().z - 507 );
int d = dx * dx + dy * dy;
if( d > 1246 )
return FALSE;
dx = (int)( GetPos().x - 490 );
dy = (int)( GetPos().z - 507 );
d = dx * dx + dy * dy;
if( d > 1246 )
return FALSE;
return TRUE;
}
return FALSE;
The equation, judging by where you're standing in the arena actually works. I was standing just outside the arena and after the equation i got the number 1246.627537, which is JUST over 1246 hence it returns as false.
yeah i saw this before and tried decrypting the math xD
its confusing....
on paper, it seems to draw a square area, via X and Y co-ordinates. well, thats pretty self explanatory in the code but modifying the code to change the arena PK position is more confusing than it looks xDD, but yeah its definatly arena PK cos ive modified it on my server's arena xD
Originally Posted by KrYpT0n
waw maths T__T
it's ezpz
if the distance from the centerpoint of the circle is higher then the radius, the player is outside of the circle. You can make the area bigger through changing that number...
You also have to keep in mind, that some people may wanna change the x,y position of the square/circle itself....like move it to madrigal, for the SM arena or something, changing the start position of it is a lot harder xD...
#ifdef __JEFF_11_4 BOOL CMover::IsArenaTarget( CMover* pMover ) { CWorld* pWorld = GetWorld(); if( pWorld && pWorld->IsArena() ) return TRUE;// if you are inside the arena, all area's are pk-able
return FALSE; // Return's false if the map is not in the arena
} /* Use the Attribute in the Beast to apply safe area on a certain range, this makes the game interesting :) */
dont make yourself getting harder with these things, simply use the attribute of the beast then apply it to safe area..
it is understood that all the place in the arena is PK-able
so why bother having a hard time in doing such math in that situation..
think less, do lesser, best effects :)
i did understand the algorithm but it makes me sick xD
#ifdef __JEFF_11_4
BOOL CMover::IsArenaTarget( CMover* pMover )
{
CWorld* pWorld = GetWorld();
if( pWorld && pWorld->IsArena() )
return TRUE;// if you are inside the arena, all area's are pk-able
return FALSE; // Return's false if the map is not in the arena
}
/* Use the Attribute in the Beast to apply safe area on a certain range, this makes the game interesting :) */
dont make yourself getting harder with these things, simply use the attribute of the beast then apply it to safe area..
it is understood that all the place in the arena is PK-able
so why bother having a hard time in doing such math in that situation..
think less, do lesser, best effects :)
i did understand the algorithm but it makes me sick xD
it's PK-able
hmm, incredibly interesting theory might have to try this lol,
that means i could maybe also do additional arenas easier too :o
#ifdef __JEFF_11_4
BOOL CMover::IsArenaTarget( CMover* pMover )
{
CWorld* pWorld = GetWorld();
if( pWorld && pWorld->IsArena() )
return TRUE;// if you are inside the arena, all area's are pk-able
return FALSE; // Return's false if the map is not in the arena
}
/* Use the Attribute in the Beast to apply safe area on a certain range, this makes the game interesting :) */
dont make yourself getting harder with these things, simply use the attribute of the beast then apply it to safe area..
it is understood that all the place in the arena is PK-able
so why bother having a hard time in doing such math in that situation..
think less, do lesser, best effects :)
i did understand the algorithm but it makes me sick xD
it's PK-able
btw CREDITS TO ALEXSH
Thanks for giving me the idea mate! Good Job :P
Last time i attempted to add a PK Attribute it didn't work.
yeah PK Attribute won't work on other worlds but it will work on arena cause you will not obtain any pk's if you kill a player due to its code when it have that pk attributes i i tried it before :) but when you try safe area or other attribute, it will work :D
if Shielding red line!Neuz.exe Prompt the client is missing a lot of resources, is it that the client is not correct, or where there is supporting client download??
It's all question of beast, in your ressource file you just have to edit your worldserver.ini (idk if it's worldserver? It hs been a while since I stopped developing for Flyff) change "pk 0" to "PK 1", add attribute in the arena, and here you go, easy as pie, maths isn't the solution for everything.