Jump to content

Drake

Server owner
  • Posts

    34
  • Joined

  • Last visited

  • Days Won

    4

Drake last won the day on June 30

Drake had the most liked content!

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Drake's Achievements

Vizor

Vizor (2/13)

  • First Post
  • Collaborator
  • Conversation Starter
  • One Year In
  • Dedicated

Recent Badges

19

Reputation

  1. Oh ic, do you mind telling me in which code i should look up
  2. This is the Src Code: void CCharacter::BackToCity(bool bDie, cChar *szCityName, Long lMapCpyNO, Char chSwitchType) { SubMap *pCMap = GetSubMap(); pCMap->GoOut(this); SetToMainCha(bDie); CCharacter *pCMainCha = GetPlyMainCha(); pCMainCha->SetExistState(enumEXISTS_NATALITY); //pCMainCha->m_timerScripts.Reset(); if(bDie && (!strcmp(pCMap->GetName(), "guildwar"))) { if(GetGuildType() == emGldTypePirate) { szCityName = "guildwarpirateside"; } else { szCityName = "guildwarnavyside"; } } else if(bDie && (!strcmp(pCMap->GetName(), "guildwar2"))) { if(GetGuildType() == emGldTypePirate) { szCityName = "guildwarpirateside2"; } else { szCityName = "guildwarnavyside2"; } } // [email protected] 7/31/2019 if (g_CParser.DoString("GetChaRespawnPoint", enumSCRIPT_RETURN_STRING, 1, enumSCRIPT_PARAM_LIGHTUSERDATA, 1, pCMainCha, enumSCRIPT_PARAM_STRING, 1, pCMap->GetName(), DOSTRING_PARAM_END)) szCityName = g_CParser.GetReturnString(0); // if (!szCityName || !strcmp(szCityName, "")) pCMainCha->ResetBirthInfo(); else { SBirthPoint *pSBirthP; pSBirthP = GetRandBirthPoint(GetLogName(), szCityName); SetBirthMap(pSBirthP->szMapName); SetPos(pSBirthP->x * 100, pSBirthP->y * 100); } pCMainCha->SwitchMap(pCMap, pCMainCha->GetBirthMap(), pCMainCha->GetPos().x, pCMainCha->GetPos().y, false, chSwitchType, lMapCpyNO); } You mean the src code above aint the right code? i forgot to write it on thread as CODE option so i've updated it just now.
  3. Hello everyone, im having an issue with the auto respawn in the same map, example “Capture the Flag” I’m using the function at functions.lua: CUSTOM_RETURN_POINTS = { ['puzzleworld'] = 'Sacred Snow Mountain', ['puzzleworld2'] = 'Sacred Snow Mountain', ['garner2'] = 'Chaos Portal', } function GetChaRespawnPoint(Player, mapname) local ret = "" for i,v in pairs(CUSTOM_RETURN_POINTS) do if(i == mapname) then if mapname == "puzzleworld" or mapname == "puzzleworld2" then ReAll(Player) end ret = v end end local SideID = GetChaSideID(Player) if (mapname == "ctf") then if (SideID == 1) then return CTF.Spawns[2].Spawn elseif (SideID == 2) then return CTF.Spawns[1].Spawn end end return ret end And this is the source code code that i me using: void CCharacter::BackToCity(bool bDie, cChar *szCityName, Long lMapCpyNO, Char chSwitchType) { SubMap *pCMap = GetSubMap(); pCMap->GoOut(this); SetToMainCha(bDie); CCharacter *pCMainCha = GetPlyMainCha(); pCMainCha->SetExistState(enumEXISTS_NATALITY); //pCMainCha->m_timerScripts.Reset(); /* if(bDie && (!strcmp(pCMap->GetName(), "guildwar"))) { if(GetGuildType() == emGldTypePirate) { szCityName = "guildwarpirateside"; } else { szCityName = "guildwarnavyside"; } } else if(bDie && (!strcmp(pCMap->GetName(), "guildwar2"))) { if(GetGuildType() == emGldTypePirate) { szCityName = "guildwarpirateside2"; } else { szCityName = "guildwarnavyside2"; } } */ if (g_CParser.DoString("MapRespawnOnDeath", enumSCRIPT_RETURN_STRING, 1, enumSCRIPT_PARAM_LIGHTUSERDATA, 1, pCMainCha, DOSTRING_PARAM_END)) szCityName = g_CParser.GetReturnString(0); if (!szCityName || !strcmp(szCityName, "")) pCMainCha->ResetBirthInfo(); else { SBirthPoint *pSBirthP; pSBirthP = GetRandBirthPoint(GetLogName(), szCityName); SetBirthMap(pSBirthP->szMapName); SetPos(pSBirthP->x * 100, pSBirthP->y * 100); } pCMainCha->SwitchMap(pCMap, pCMainCha->GetBirthMap(), pCMainCha->GetPos().x, pCMainCha->GetPos().y, false, chSwitchType, lMapCpyNO); } im still being respawned to argent city when i’m dying instead of being Respawned into CTF
  4. Hello Devs, I'm looking for anyone whos looking for c++ developers team members. I'm looking forward to join a team, i'm up to work with source codes (C++), i won't code in lua or any other language. Dm me for more info if your interested on hiring a C++ Developer.
  5. You talking for Billy aka 7n6? He already finished such thing years ago, and yes it was based on Lua
  6. Even a pro dev asks for hints sometimes if you know. All im asking is some hints on why the ftp aint working with ip so i could get the patches automatically, other than that all works fine
  7. @ Graf Hi, i was looking to make the KOP launcher work since its on c++ but the only issue is the patching, not sure how to make it work
  8. Hi everyone, I've been trying to compile the launcher from the top 1 src codes, but im having issues to get the patches while running it.. im using hamachi IP just for testing but seems that i wont get the patches, i also builded the buildVer (required to make the run_dust patches for website side).. can someone give me a clue? This is my configs at client Update.cfg and the error i get when running the Launcher.
  9. It's also Disconnecting the account when trying to add an item to the guild bank while using ship - Edit fixed. (Disabled items to be used while being on a Boat/Sea, C++ Side)
  10. Possible to share a fix or maybe let us know where to look for it? Ty
  11. New Update - November 7th, 2020 1). All Gems from Npc costs 5k instead of 50-150k 2). Refining Gems costs 50k instead of 150k 3). Each Socket Set now costs 100k, other than exchanging them with Buccaneers Cards. 4). Blacksmith Pliers now costs 50k each, other than exchanging them with Buccaneers Cards. 5). Moved Apparels NPCs near Blacksmith at Argent City 6). Now Argent Blacksmith allows you to forge/upgrade etc.. 7). Added a Gem Seller NPC near Blacksmith at Argent City 8). Pets now costs 50k instead of 1m 9). Pet Upgrade Fruits now costs 50k instead of 1m 10). Rations now costs 2k each, other than exchanging them with Buccaneers Cards. 11). New Money Ways: 10x Event Chests spawns every 4 hours around Argent City Outside (They drop 100k Gold Note, 100% drop Rates). 10x Event Chests spawns every 4 hours around Shaitan City Outside (They drop 100k Gold Note, 100% drop Rates). 10x Event Chests spawns every 4 hours around Icicle City Outside (They drop 100k Gold Note, 100% drop Rates). Easier than ever, enjoy! Website: https://buccaneers-online.com/

Board Life Status


Board startup date: May 27, 2020 20:35:04
×
×
  • Create New...