Old v15 source + Source addons

Re: FlyFF v15 Source Code + Source Edits

@Giftzahn

Are u sure?
I tried to give the GMs an unique color at this way but it didn't work, i could change every other color , Monsters, NPCs, whatever, but not the Playercolor, cuz the playercolor gots defined in the PKSettings.inc in the Client >_<

It just recolors the name in the target. I already managed to find the correct one. I'll give you a really good tipp:
PK! ;)
 
Re: FlyFF v15 Source Code + Source Edits

Hi ...
i have a question ...
uhm ...
i want to change max penya ..
But i cant find a file where is defined MAX_GOLD ...
or something like this ...
In my Database i Changed the Penya from int to BigInt
so i only have to change the definition in the Source ...
If this is defined no one needs perins so a lot of bugs are gone XD
please help ^^
 
Re: FlyFF v15 Source Code + Source Edits

The maximum value a 32bit compiler can handle for int (LONG) is

Code:
2,147,483,647

and for int (ULONG = Unsigned Long)

Code:
4,294,967,295

you would have to expand the address register to 64bit for a maximum of

Code:
18,446,744,073,709,551,615
 
Last edited:
Re: FlyFF v15 Source Code + Source Edits

I dont know if anyone else has enountered this issue yet but its only happned to me since i started using the source. i dno if that correlates or notive searched over for a good database and a good character_Str, tried different sources etc, i still get the issue

Code:
query:{call CHARACTER_STR('U1','0000018','01','',?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,      0,      0,      0,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
SQLSTATE:42000 error:[Microsoft][SQL Native Client][SQL Server]Error converting data type varchar to int.

anyone got any ideas?

whenever i restart the server it rolls everyone back to lvl 1 xD
 
Last edited by a moderator:
Re: FlyFF v15 Source Code + Source Edits

I actually love how this source code works.
Everything looks so high level, you never have to mess with packets, winsock etc.
Just awesome.

PS: I left FlyFF development a while ago. I prolly won't come back soon.
 
Re: FlyFF v15 Source Code + Source Edits

I dont know if anyone else has enountered this issue yet but its only happned to me since i started using the source. i dno if that correlates or notive searched over for a good database and a good character_Str, tried different sources etc, i still get the issue

Code:
query:{call CHARACTER_STR('U1','0000018','01','',?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,      0,      0,      0,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
SQLSTATE:42000 error:[Microsoft][SQL Native Client][SQL Server]Error converting data type varchar to int.

anyone got any ideas?

whenever i restart the server it rolls everyone back to lvl 1 xD

it same
 
Re: FlyFF v15 Source Code + Source Edits

Yeah im judging by the silence that either no one knows (which i doubt is true) or people areselfishy hiding the solution, but i cant say i wouldnt be surprised. im still looking, once i find the solution i will post it, if no one else will...
 
Re: FlyFF v15 Source Code + Source Edits

I felt I should contribute at least once in this thread.

File: WndWorld.cpp in ...\_Interface\ folder
Subject: Fixed and updated to v15 standards (With Hero/Master) to see or not see someone's levels whom is 19 levels above you.
How: Highlight lines 2795 to 2820, or from #if __VER >= 8 // __CSC_VER8_1 to #endif //__CSC_VER8_1, then paste the following information.
Code:
#if __VER >= 8 // __CSC_VER8_1
						// 8Â÷ GMÀÏ °æ¿ì¸¦ Á¦¿ÜÇÏ°í »ó´ë¹æÀÇ ·¹º§À» º¼¼ö ¾øÀ½ 
						if( g_pPlayer->IsAuthHigher( AUTH_GAMEMASTER ) == TRUE )
							if( pMover->IsHero() )
								sprintf( szText, "%s <Lvl %d-H>", pMover->GetName(), pMover->GetLevel() );
							else if( pMover->IsMaster() )
								sprintf( szText, "%s <Lvl %d-M>", pMover->GetName(), pMover->GetLevel() );
							else
								sprintf( szText, "%s <Lvl %d>", pMover->GetName(), pMover->GetLevel() ); 

						else if( g_pPlayer->IsAuthHigher( AUTH_GAMEMASTER ) == FALSE && g_pPlayer->GetLevel() + 20 > pMover->GetLevel() )
							if( pMover->IsHero() && g_pPlayer->GetLevel() + 20 > pMover->GetLevel())
								sprintf( szText, "%s <Lvl %d-H>", pMover->GetName(), pMover->GetLevel() );
							else if( pMover->IsMaster() && g_pPlayer->GetLevel() + 20 > pMover->GetLevel())
								sprintf( szText, "%s <Lvl %d-M>", pMover->GetName(), pMover->GetLevel() );
							else
								sprintf( szText, "%s <Lvl %d>", pMover->GetName(), pMover->GetLevel() ); 
						else
							sprintf( szText, "%s <Lvl \?\?>", pMover->GetName() );
#endif //__CSC_VER8_1

Before someone starts flaming me on "If you uncomment ____ and change AUTH_GAMEMASTER to AUTH_GENERAL" Well if you just simply put AUTH_GENERAL then your gms won't know the levels of people. Also, Masters could view Hero levels, which would defeat the purpose. This is properly fixing it so everything is current and working.
 
Last edited:
Re: FlyFF v15 Source Code + Source Edits

Maybe here somebody can help me
how to fix the /FallRain and the /FallSnow Command's in the source and how to implement the pet loot system

Thanks Rockzz
 
Back