Blessed Infinitum Source

Thanks for the help, but that was to change the name of what teleports where listed, I did manage to find the part in the source where this comes up which was "BOOL CWndTeleporter::OnChildNotify" in the file "WndField.cpp" and I commented out the ones I didn't want but even after recompiling they still show up but they just don't function, do you have any idea why?

in WndField.cpp

BOOL CWndTeleporter::OnChildNotify( UINT message, UINT nID, LRESULT* pLResult )
{
switch (nID)
{
case WIDC_BUTTON_FLARIS1:// Flaris
{
g_DPlay.SendTeleportPosition( 1 );
Destroy();
break;
}
case WIDC_BUTTON_SM1:// Saint Morning
{
g_DPlay.SendTeleportPosition( 2 );
Destroy();
break;
}
case WIDC_BUTTON_DARKON1:// Darkon
{
g_DPlay.SendTeleportPosition( 3 );
Destroy();
break;
}
case WIDC_BUTTON_DARKON11:// Darkon1
{
g_DPlay.SendTeleportPosition( 4 );
Destroy();
break;
}
case WIDC_BUTTON_DARKON3:// Darkon3
{
g_DPlay.SendTeleportPosition( 5 );
Destroy();
break;
}
case WIDC_BUTTON_VULCANO1:// VOLCANO
{
g_DPlay.SendTeleportPosition( 6 );
Destroy();
break;
}
case WIDC_BUTTON_PVP1:// Vorm Behemoth Dungeon
{
g_DPlay.SendTeleportPosition( 7 );
Destroy();
break;
}
case WIDC_BUTTON_HERODUNGEON:// Aminus Hero
{
g_DPlay.SendTeleportPosition( 8 );
Destroy();
break;
}
case WIDC_BUTTON_MASTERDUNGEON:// Aminus Master
{
g_DPlay.SendTeleportPosition( 9 );
Destroy();
break;
}
case WIDC_BUTTON_TRAMNUKM:// Tramnuk Master
{
g_DPlay.SendTeleportPosition( 10 );
Destroy();
break;
}
case WIDC_BUTTON_TRAMNUK:// Tramnuk Normal
{
g_DPlay.SendTeleportPosition( 11 );
Destroy();
break;
}
case WIDC_BUTTON_EVENT:// Event Area
{
g_DPlay.SendTeleportPosition( 12 );
Destroy();
break;
}
}
return CWndNeuz::OnChildNotify( message, nID, pLResult );
}

in DpSrvr.cpp

#ifdef __NEW_TELEPORT
void CDPSrvr::OnSendTeleportPosition( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE, u_long )//Teleport Fenster Stuff
{
CUser* pUser = g_UserMng.GetUser( dpidCache, dpidUser );

if( IsValidObj( pUser ) )
{
BYTE nID;
D3DXVECTOR3 vPos;
int dwWorldID;

ar >> nID;

switch( nID )
{
case 1:
vPos = D3DXVECTOR3(7161.0F, 100.0F, 3264.0F); dwWorldID = 1; //flaris
break;
case 2:
vPos = D3DXVECTOR3(8321.0F, 100.0F, 3720.0F); dwWorldID = 1; //stmorning
break;
case 3:
vPos = D3DXVECTOR3(3896.0F, 59.0F, 4378.0F); dwWorldID = 1; //darkon
break;
case 4:
vPos = D3DXVECTOR3(5936.0F, 100.0F, 5421.0F); dwWorldID = 1; //shaduwar
break;
case 5:
vPos = D3DXVECTOR3(6065.0F, 70.0F, 9234.0F); dwWorldID = 1; //Desert
break;
case 6:
vPos = D3DXVECTOR3(7235.0F, 66.0F, 9093.0F); dwWorldID = 1; //Elluin
break;
case 7:
vPos = D3DXVECTOR3(828.0F, 100.0F, 836.0F); dwWorldID = 131; //Herneos 1
break;
case 8:
vPos = D3DXVECTOR3(828.0F, 100.0F, 836.0F); dwWorldID = 134; //Herneos 2
break;
case 9:
vPos = D3DXVECTOR3(717.0F, 100.0F, 230.0F); dwWorldID = 132; //Sanpres 1
break;
case 10:
vPos = D3DXVECTOR3(717.0F, 100.0F, 230.0F); dwWorldID = 135; //Sanpres 2
break;
case 11:
vPos = D3DXVECTOR3(1176.0F, 150.0F, 650.0F); dwWorldID = 129; //Upresia 1
break;
case 12:
vPos = D3DXVECTOR3(1176.0F, 150.0F, 650.0F); dwWorldID = 133; //Upresia 2
break;
// return FALSE;
}

pUser->REPLACE( g_uIdofMulti, dwWorldID , vPos, REPLACE_NORMAL, nDefaultLayer );
}
}
#endif //__NEW_TELEPORT

in resdata.inc

// NEW_TELEPORT
APP_TELEPORTUSER "WndTile08.tga" "" 1 368 224 0x2410000 26
{
// Title String
IDS_RESDATA_INC_003140
}
{
// Help Key
IDS_RESDATA_INC_003141
}
{
WTYPE_STATIC WIDC_STATIC1 "" 0 20 18 338 34 0x2220000 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_174863
}
{
// ToolTip
IDS_RESDATA_INC_174864
}
WTYPE_BUTTON WIDC_BUTTON_FLARIS1 "" 0 22 40 118 64 0x220010 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_174865
}
{
// ToolTip
IDS_RESDATA_INC_174866
}
WTYPE_BUTTON WIDC_BUTTON_SM1 "" 0 22 116 118 140 0x220010 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_174867
}
{
// ToolTip
IDS_RESDATA_INC_174868
}
WTYPE_BUTTON WIDC_BUTTON_DARKON1 "" 0 22 78 118 102 0x220010 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_174869
}
{
// ToolTip
IDS_RESDATA_INC_174870
}
WTYPE_BUTTON WIDC_BUTTON_DARKON11 "" 0 130 78 226 102 0x220010 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_174871
}
{
// ToolTip
IDS_RESDATA_INC_174872
}
WTYPE_BUTTON WIDC_BUTTON_DARKON3 "" 0 238 78 334 102 0x220010 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_174873
}
{
// ToolTip
IDS_RESDATA_INC_174874
}
WTYPE_BUTTON WIDC_BUTTON_VULCANO1 "" 0 238 40 334 64 0x220010 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_174875
}
{
// ToolTip
IDS_RESDATA_INC_174876
}
WTYPE_BUTTON WIDC_BUTTON_PVP1 "" 0 130 40 226 64 0x220010 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_174877
}
{
// ToolTip
IDS_RESDATA_INC_174878
}
WTYPE_BUTTON WIDC_BUTTON_HERODUNGEON "" 0 130 116 226 140 0x220010 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_174897
}
{
// ToolTip
IDS_RESDATA_INC_174898
}
WTYPE_BUTTON WIDC_BUTTON_MASTERDUNGEON "" 0 238 116 334 140 0x220010 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_174899
}
{
// ToolTip
IDS_RESDATA_INC_174900
}
WTYPE_BUTTON WIDC_BUTTON_TRAMNUKM "" 0 22 150 118 174 0x220010 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_174901
}
{
// ToolTip
IDS_RESDATA_INC_174902
}
WTYPE_BUTTON WIDC_BUTTON_TRAMNUK "" 0 130 150 226 174 0x220010 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_174903
}
{
// ToolTip
IDS_RESDATA_INC_174904
}
WTYPE_BUTTON WIDC_BUTTON_EVENT "" 0 238 150 334 174 0x220010 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_174905
}
{
// ToolTip
IDS_RESDATA_INC_174906
}

}

now... connect the dots :thumbup1:
 
Thanks for that, I finally got it to work now I'm just messing around with the size of it, the last question I had was to do with the character selection screen, it's all messed up graphically, there are buttons which shouldn't be there, it's the same as what this user has posted.
Is this something to do with the theme folder or is it something that needs to be edited in the source?
http://forum.ragezone.com/6816011-post331.html
 
/*
A
B
C
*/

is the same with

//A
//B
//C

:laugh:

i just thougth that it is not commented because i used notepad++ at that time, and as i observed when i use // the color of the text is light blue and if i use /* */ the color of the text is the same as the other text.
 
hey, i only only use the resource, i used the servers from etioom i think and i have all server up and runnig, the only thing is...

i downl the client to, bot none of my neuz n-loaders works i just can open, can som1 plz help me with thad!!!!
 
Last edited:
2012/ 2/19 09:14:26 Feb 16 2012 19:22:13 1 rCnt=1

Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module Neuz.exe at 001B:00729C85, CSfxItemYoyoAtk::MakePath()+0021 byte(s), c:\source\official source\_common\sfx.cpp, line 1121+0006 byte(s)

- Registers

EAX=00000000 EBX=7FFDC000 ECX=00000000 EDX=01270608 ESI=00000000
EDI=7C80B741 EBP=0012F264 ESP=0012EFFC EIP=00729C85 FLG=00010216
CS=001B DS=0023 SS=0023 ES=0023 FS=003B GS=0000

001B:00729C85 Neuz.exe, CSfxItemYoyoAtk::MakePath()+0021 byte(s)
001B:006EB0AE Neuz.exe, CCtrl::CreateYoyoSkill()+0318 byte(s)
001B:006EB6E5 Neuz.exe, CCtrl::CreateSkillSfx()+1349 byte(s)
001B:006EC03A Neuz.exe, CCtrl::DoApplySkillEx()+0474 byte(s)
001B:006EBE4D Neuz.exe, CCtrl::DoApplySkill()+0045 byte(s)
001B:0070254E Neuz.exe, CMover::OnMeleeSkill()+0462 byte(s)
001B:007CF778 Neuz.exe, CActionMover::ProcessStateMeleeSkill()+0408 byte(s)
001B:007CF338 Neuz.exe, CActionMover::ProcessState1()+2904 byte(s)
001B:007CA123 Neuz.exe, CActionMover::ProcessState()+0067 byte(s)
001B:007C9D3F Neuz.exe, CActionMover::ProcessAction()+0399 byte(s)
001B:006F3989 Neuz.exe, CMover::Process()+2921 byte(s)
001B:0078A6B9 Neuz.exe, CWorld::Process()+0665 byte(s)
001B:004F5073 Neuz.exe, CWndWorld::Process()+3763 byte(s)
001B:0050D87C Neuz.exe, CWndBase::Process()+0092 byte(s)
001B:004C26BF Neuz.exe, CWndMgr::Process()+2879 byte(s)
001B:0046D89B Neuz.exe, CNeuzApp::FrameMove()+0267 byte(s)
001B:0048D4D0 Neuz.exe, CD3DApplication::Render3DEnvironment()+0384 byte(s)
001B:0048D315 Neuz.exe, CD3DApplication::Run()+0245 byte(s)
001B:004743FC Neuz.exe, WinMain()+0332 byte(s)
001B:0091774C Neuz.exe, WinMainCRTStartup()+0388 byte(s)
001B:7C817077 kernel32.dll, RegisterWaitForInputIdle()+0073 byte(s)

i think this is the error who make me dc in harlequin
 
can anyone help me to fix guild? when i create a guild and when i turn the server offline the guild disappears.,
if i create new guild it say "you already have a guild" but i dont have a guild
 
help box not open U.U

2. - Most of the boxes I've used the defineitem.h not work
3. - Anyone can help me


Akerius - Blessed Infinitum Source - RaGEZONE Forums
 
Try this procedure maybe it will work..but im not sure..:thumbup:

_Database\DbManager.cpp
Change
PHP:
DBQryCharacter( szQuery, "D1", idPlayer, g_appInfo.dwSys, lpDbOverlappedPlus->AccountInfo.szAccount, szNo);

to

DBQryCharacter( szQuery, "D1", idPlayer, g_appInfo.dwSys, lpDbOverlappedPlus->AccountInfo.szAccount, lpDbOverlappedPlus->AccountInfo.szPassword);

WARNING: This ignore the WIDC_EDIT1 in APP_DELETE_CHAR (Unused in RoC)
If you do not want to put the password in id_no2 change the procedure CHARACTER_STR (should already know where :p)
PHP:
Search

  IF @iGu = 'D1'

Change

IF EXISTS(SELECT *  FROM ACCOUNT_DBF.dbo.ACCOUNT_TBL  WHERE account = @iaccount AND (id_no2 =  @im_szName OR member = 'B' ))

to

IF EXISTS(SELECT *  FROM ACCOUNT_DBF.dbo.ACCOUNT_TBL  WHERE account = @iaccount AND (password =  @im_szName OR member = 'B' ))
 
Try this procedure maybe it will work..but im not sure..:thumbup:

_Database\DbManager.cpp
Change
PHP:
DBQryCharacter( szQuery, "D1", idPlayer, g_appInfo.dwSys, lpDbOverlappedPlus->AccountInfo.szAccount, szNo);

to

DBQryCharacter( szQuery, "D1", idPlayer, g_appInfo.dwSys, lpDbOverlappedPlus->AccountInfo.szAccount, lpDbOverlappedPlus->AccountInfo.szPassword);

WARNING: This ignore the WIDC_EDIT1 in APP_DELETE_CHAR (Unused in RoC)
If you do not want to put the password in id_no2 change the procedure CHARACTER_STR (should already know where :p)
PHP:
Search

  IF @iGu = 'D1'

Change

IF EXISTS(SELECT *  FROM ACCOUNT_DBF.dbo.ACCOUNT_TBL  WHERE account = @iaccount AND (id_no2 =  @im_szName OR member = 'B' ))

to

IF EXISTS(SELECT *  FROM ACCOUNT_DBF.dbo.ACCOUNT_TBL  WHERE account = @iaccount AND (password =  @im_szName OR member = 'B' ))

Well you can make it use bank password instead of id_no2 too...
 
Back