Code
- Error 336 error C2065: 'TPacketCGShop2' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 438 1 UserInterface
- Error 337 error C2146: syntax error : missing ';' before identifier 'PacketShop' C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 438 1 UserInterface
- Error 338 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 438 1 UserInterface
- Error 339 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 439 1 UserInterface
- Error 340 error C2228: left of '.header' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 439 1 UserInterface
- Error 341 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 440 1 UserInterface
- Error 342 error C2228: left of '.subheader' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 440 1 UserInterface
- Error 343 error C2065: 'SHOP2_SUBHEADER_CG_BUY' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 440 1 UserInterface
- Error 344 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 441 1 UserInterface
- Error 345 error C2228: left of '.cSellerName' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 441 1 UserInterface
- Error 346 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 442 1 UserInterface
- Error 347 error C2228: left of '.bItemPos' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 442 1 UserInterface
- Error 348 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 443 1 UserInterface
- Error 349 error C2228: left of '.iBuyType' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 443 1 UserInterface
- Error 350 error C2065: 'TPacketCGShop2' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 445 1 UserInterface
- Error 351 error C2070: ''unknown-type'': illegal sizeof operand C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 445 1 UserInterface
- Error 352 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 445 1 UserInterface
- Error 353 error C2065: 'TPacketCGShop2' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 459 1 UserInterface
- Error 354 error C2146: syntax error : missing ';' before identifier 'PacketShop' C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 459 1 UserInterface
- Error 355 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 459 1 UserInterface
- Error 356 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 460 1 UserInterface
- Error 357 error C2228: left of '.header' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 460 1 UserInterface
- Error 358 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 461 1 UserInterface
- Error 359 error C2228: left of '.subheader' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 461 1 UserInterface
- Error 360 error C2065: 'SHOP2_SUBHEADER_CG_SEARCH' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 461 1 UserInterface
- Error 361 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 462 1 UserInterface
- Error 362 error C2228: left of '.iJob' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 462 1 UserInterface
- Error 363 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 463 1 UserInterface
- Error 364 error C2228: left of '.iType' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 463 1 UserInterface
- Error 365 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 464 1 UserInterface
- Error 366 error C2228: left of '.iSubtype' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 464 1 UserInterface
- Error 367 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 465 1 UserInterface
- Error 368 error C2228: left of '.iMinLevel' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 465 1 UserInterface
- Error 369 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 466 1 UserInterface
- Error 370 error C2228: left of '.iMaxLevel' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 466 1 UserInterface
- Error 371 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 467 1 UserInterface
- Error 372 error C2228: left of '.iMinRefine' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 467 1 UserInterface
- Error 373 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 468 1 UserInterface
- Error 374 error C2228: left of '.iMaxRefine' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 468 1 UserInterface
- Error 375 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 469 1 UserInterface
- Error 376 error C2228: left of '.iMinPrice' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 469 1 UserInterface
- Error 377 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 470 1 UserInterface
- Error 378 error C2228: left of '.iMaxPrice' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 470 1 UserInterface
- Error 379 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 471 1 UserInterface
- Error 380 error C2228: left of '.cItemNameForSearch' must have class/struct/union C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 471 1 UserInterface
- Error 381 error C2065: 'TPacketCGShop2' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 473 1 UserInterface
- Error 382 error C2070: ''unknown-type'': illegal sizeof operand C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 473 1 UserInterface
- Error 383 error C2065: 'PacketShop' : undeclared identifier C:\Users\Sven\Desktop\Server\Source Launcher v1\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 473 1 UserInterface
Was ich hinzugefügt habe :
Code
- bool CPythonNetworkStream::SendShopSearchBuyPacket(const char* cSeller, BYTE bPos, int iBuyType)
- {
- if (!__CanActMainInstance())
- return true;
- TPacketCGShop2 PacketShop;
- PacketShop.header = HEADER_CG_SHOP2;
- PacketShop.subheader = SHOP2_SUBHEADER_CG_BUY;
- strncpy(PacketShop.cSellerName, cSeller, 24);
- PacketShop.bItemPos = bPos;
- PacketShop.iBuyType = iBuyType;
- if (!Send(sizeof(TPacketCGShop2), &PacketShop))
- {
- Tracef("SendShopSearchBuyPacket Error\n");
- return false;
- }
- return SendSequence();
- }
- bool CPythonNetworkStream::SendShopSearchFindPacket(int iJob, int iType, int iSubType, int iMinLevel, int iMaxLevel, int iMinRefine, int iMaxRefine, int iMinPrice, int iMaxPrice, const char* pcItemName)
- {
- if (!__CanActMainInstance())
- return true;
- TPacketCGShop2 PacketShop;
- PacketShop.header = HEADER_CG_SHOP2;
- PacketShop.subheader = SHOP2_SUBHEADER_CG_SEARCH;
- PacketShop.iJob = iJob;
- PacketShop.iType = iType;
- PacketShop.iSubtype = iSubType;
- PacketShop.iMinLevel = iMinLevel;
- PacketShop.iMaxLevel = iMaxLevel;
- PacketShop.iMinRefine = iMinRefine;
- PacketShop.iMaxRefine = iMaxRefine;
- PacketShop.iMinPrice = iMinPrice;
- PacketShop.iMaxPrice = iMaxPrice;
- strncpy(PacketShop.cItemNameForSearch, pcItemName, 24);
- if (!Send(sizeof(TPacketCGShop2), &PacketShop))
- {
- Tracef("SendShopSearchFindPacket Error\n");
- return false;
- }
- return SendSequence();
- }
Wäre nett wenn mir wer den Fehler sagen kann bzw Korriegieren kann