Ir para conteúdo

Jackson Zani

Campones
  • Total de itens

    84
  • Registro em

  • Última visita

Tudo que Jackson Zani postou

  1. Bom, galerinha O paramenters ele fica no Project(projeto)>Project Options>Paramenters Ou se não só use alt+p que abre direto no paramenters ;} Abraços. PS: Pega em todas as versões.
  2. Jackson Zani

    Xtibia 2007

    Interessante ;D Ia ser bom um novo portal, porque está que está agora, não combina nada com o forum Abraços ^^
  3. @Alttli Valeu pelos elogios ;D, tipo por um lado você tem razão hehehe, Irá criar uns spam mais isso é simples se tu ver que está acontecendo Basta banido hahaha Abraços. ^^
  4. desculpa, é que eu criei o topico em outro forum. e lá saiu errado ;D Já arrumei ! abraços!
  5. Bom um comandozinhu bem facil ;} Você usa !comment (oque quer comentar ou dar sugestões, você que sabe), isso cria um log automaticamente dentro da pasta data, com a hora o dia o ano e o mês certinho. Ex: [2007-04-21 17:11] GM Jackson Zani: Xtibia. Intão vamos para o code, em Commands.cpp Abaixo de: {"/info",&Commands::getInfo}, Adicione: {"!comment",&Commands::comment}, Agora no final de Commands.cpp Adicione: bool Commands::comment(Creature* c, const std::string &cmd, const std::string &param) { Player* player = c->getPlayer(); if(!player) return false; time_t ticks = time(0); tm* now = localtime(&ticks); char buf[32]; strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M", now); std::stringstream filename; filename << "data/" << player->getName() << "-" << "comments.log"; std::ofstream out (filename.str().c_str(), std::ios::app); out << '[' << buf << "] " << player->getName() << ": " << param << std::endl; out.close(); player->sendTextMessage(MSG_STATUS_CONSOLE_YELLOW, "Your comment has been sent. Thank You."); return true; } Agora vá em Commands.h Abaixo de: bool getInfo(Creature* creature, const std::string& cmd, const std::string& param); Adicione: bool comment(Creature* c, const std::string &cmd, const std::string &param); //thankz to mirage team.
  6. Postou no lugar errado, Aqui é códigos e não actions hehehe, Mais tipo, ta simples a script mais é útil. Abraços.
  7. @JP_OT O sistema de rook deu alguns probleminhas, intão estarei tirando, Postarei ele na nova versão, 100% Incluirei ACC MANAGER. Abraços a todos.
  8. @LuCk666 Hehehe, não tem acc manager, decidimos não colocar, eu acho inutil. Basta você usar um site de accounts ^^, já vem com um code pra ver quem ta online dentro da pasta. O mapa do server tá o global. Abraços.
  9. @LuCk666 não sei brow!, aqui está normal hehehe, o link ta normal ^^ Abraços!
  10. -- Project Developers Codders & compillers: Dr0p & Jackson Zani Data folder modifiers: Dr0p Designer: HellMaster SVN Features: *Guid for xml players. (players.xml) *Bans *Mail System *Readable/Writeable items. *Full rearranged protocol and game system *Actions (when using a tile or item) *SQL databases (for accounts and players) *Crash tracking *Monsters *7.9 Protocol *OTB (You now dont have to convert your map, change any ID, 7.5 ID's are just stacked on top of older ID's same with 7.8 ids!) *VIP List *Guild support *Spawns (and Respawn) *Commands *Autowalk *Rotatable items *Logger *Enhanced items database *Runes with charges *Depots *Waitlist *Houses *Follow and chase opponent *And more! New SVN Features: *A whole new condition engine to handle all kind of conditions. *A whole new battle engine. The new engine is closer to Tibia's formulas. *The script interface has been rewriten and improved alot. You can now script all kind of things. Weapons, movement, talkactions, spells. You name it. *Monsters have been recoded to use the new condition and battle engine. And they now act more like the tibia monsters. *Vocations are now configurable with vocations.xml *And alot more. Try it yourself and find out. Other SVN Features: *Muted System (SVN) *NPC's turning to player (SVN) *NPC Random Walk (SVN) *Exception Tracer (SVN) *Debug Players (SVN) New SVN Fixes: *Summon Fixed (SVN) *Cap System Fixed (SVN) *Rewriteables Fixed (SVN) Plus 0.1.0: *Experience Stages (Xidaozu) *GM Look (Ravalas) *Auto IP (Zorzin) *Amulet Of Loss (Ravalas) *You are Dead. You were killed by 'Monster/Player' (?) *Auto Server Save (Lithium & TLM) *Critical Hit (Jackson Zani) Plus 0.2.0 *luaGetCondition (Sapphire) *Items to swamp/water/lava (Ravalas) *Combat Zones (nfries88) *Report Violation (Ispiro) *5 New Monster Races (Florestan) *command: '/selfsay "name", msg' (Raphael Carnaúba) *Party System - without bugs (Remere, Jackson Zani) *Questlog (Talaturen) *Summons Follow (Xidaozu) *Some More Commands: '/down,/up,/pos,/send' (Dr0p, Xidaozu) *Minor SVN Mod's (Dr0p) *Command: !changesex (Dr0p, Dzojo) *Command: !acc (Cuddles, Jackson Zani) Plus 0.3.0 *Fast Attack (Ravalas) *Command: !buyhouse (Pedro B.) *Death List (Jiddo, XIdaozu) *Learn Spells (Yurez) *Anti Afk (Tibia Rules) *Ruby Coins Works (Dr0p) *Anonymous Broadcast (Ghost_Rider) *Amulet of Life (Zero) *Christmas Decoration (Zorzin) *Meteor System (Sapphire, Zorzin, Nostradamus) *Plus OTServ Chat (Dr0p) *Fixed Skull System (Dr0p) *Command: /gmoutfit (Zorzin) *Command: /randomoutfit (Zorzin) *Broadcast Colors (The Chaos) *Command: /shutdown (Yurez) *[Cheat Retirado] Check (Junkfood) *Clean Map (Yurez) *Purple Fire Like Tibia (Florestan) *Lot of Debugs Fixeds (Jackson Zani) *Re-added getCount Function (Jackson Zani) Plus 0.4.0 *Premium System (Xidaozu) *Bed System (Jiddo) *Promotion System (Ravalas) *Teleport Library (Raphael Carnaúba) *Ground Randomizer (?) *Anti Lure (Betinho B.) *Turn On/Off PVT Message (Sapphire, Proglin, Talaturen) *Players Online (cybershadow) *Commands: !help (Jackson Zani) *Command: /tcoord x,y,z (Zero) *Command: !premium (Raphael Carnaúba, Yurez, Suboras) *Soft Boots 100% Like Tibia (Florestan) *Spirit Wand Works (?) *Advanced NPC System Updated to 3.0 - Examples in data/npc/scripts (Jiddo) *Actions Totally Update (added new actions, removed actions and updated actions) *Fixed Aol System (Raphael Carnaúba) Modifications *Removed Rook System *Removed Teleport Folder *Removed the Tibia RL map *SVN Map *Bytes.php Included (include this in your website!) //NPC Examples in data/npc/scripts! Data folder made by SVN, PlusOTS & Atolon. Docs folder made by Dr0p Config.lua modified by Dr0p. Icon created by Dr0p. Map.otbm(Tibia RL) Sources edited by Dr0p & Jackson Zani. Download: http://rapidshare.com/files/24352666/Plus_...y_XML_.rar.html Link lix: http://lix.in/1ac435 AAC Compatible(DayWalker): http://rapidshare.com/files/21577594/dwk1.rar.html Link lix: http://lix.in/679636 Contato: Dr0p's MSN: andremartinscp2@hotmail.com EM BREVE NOVA VERSÃO 0.5.0 //Thanks to otsat.com
  11. Pelo oque eu vi são ótimos codes hehehe Porem eles já existem. Abraços!
  12. Pessoal tinha um bug, já arrumei Abraços!, bug fixed
  13. COMENTS PLEASE! Bom esse code é para quem já tem o code /clean em commands.cpp No caso eu usei a versão do Evolutions 0.7.7 pra criar ele, e lá tem tudo certinho. Intão irei passar pra vocês o code. Em configmanager.cpp adicione: #ifdef __AUTOCLEAN_JACK__ m_confInteger[AUTO_CLEAN] = getGlobalNumber(L, "autoclean", 30)*60*1000; #endif Em configmanager.h adicione: #ifdef __AUTOCLEAN_JACK__ AUTO_CLEAN, #endif No final de game adicione: #ifdef __AUTOCLEAN_JACK__ long Game::cleanMap() { OTSYS_THREAD_LOCK_CLASS lockClass(gameLock, "Game::cleanMap()"); return map->clean(); } long Game::autocleanMap() { OTSYS_THREAD_LOCK_CLASS lockClass(gameLock, "Game::autocleanMap()"); std::cout << ":: auto clean... "; timer(); long count = cleanMap(); double sec = timer(); std::stringstream msg; msg << "Next map clean you be in " << g_config.getNumber(ConfigManager::AUTO_CLEAN) << " minutes." << std::ends; for(AutoList<Player>::listiterator it = Player::listPlayer.list.begin(); it != Player::listPlayer.list.end(); ++it){ if(dynamic_cast<Player*>(it->second)) (*it).second->sendTextMessage(MSG_STATUS_WARNING, msg.str().c_str()); } std::cout << "ok (" << timer() << "s)" << std::endl; addEvent(makeTask(g_config.getNumber(ConfigManager::AUTO_CLEAN), std::mem_fun(&Game::beforeClean))); } long Game::beforeClean() { for(AutoList<Player>::listiterator it = Player::listPlayer.list.begin(); it != Player::listPlayer.list.end(); ++it) { it->second->sendTextMessage(MSG_STATUS_WARNING, "1 minute to clean. Get your things from floor now!"); } addEvent(makeTask(60000, std::mem_fun(&Game::autocleanMap))); } #endif Em games.h abaixo de: void changeLight(const Creature* creature); Adicione: #ifdef __AUTOCLEAN_JACK__ long autocleanMap(); long beforeClean(); long cleanMap(); #endif Em otserv.cpp abaixo de: // Call to WSA Startup on Windows Systems... Adicione: #ifdef __AUTOCLEAN_JACK__ if(g_config.getNumber(ConfigManager::AUTO_CLEAN) > 0) g_game.addEvent(makeTask(g_config.getNumber(ConfigManager::AUTO_CLEAN), std::mem_fun(&Game::autocleanMap))); else std::cout << ":: Auto clean disabled!" << std::endl; #endif //__AUTOCLEAN_JACK__ Em paramenters adicione: -D__AUTOCLEAN_JACK__ Agora no config.lua adicione --Auto clean(0 - off, 1 - um minuto, 60 - uma hora!) autoclean = 5 Crédits: 80% Jackson Zani, 20% Bido
  14. OHIEOIioaehaea Isso é muito trabalho E gostei das novas novidades Eu acho que pela minha opnião todos querem um forum bastante organizado Abraços, jv
  15. Ótimo code! Como sempre se superando! hehehe Testado 100% na versão 0.7.6a e 0.7.7 do evolutions. Abraços!
  16. Cara mando muito bem, sério Fico irado! pena que o forum tiro a maioria Mas você pode add as que tu quiser! Hehehehe valeu mesmo Abraços!
  17. Qualquer programmer consegue botar um code no config.lua!, Eu achei meio desnecesario mais se tu fizer questão eu coloco. Abraços!
  18. Deve ter dado trabalho fazer tudo isso. Ótimos links! Abraços!
  19. Ótimo tutorial, sempre se surpreendendo hehehe Abraços!
  20. Muito bom, está ficando muito legal Cada veis evoluindo mais hehehe! Essa é a méta de todos Abraços!
  21. Coments Please! Como vocês leram no tópic, esse code é para Anti-lure, igual tibia rl, quando um monstro chega a certo lugar onde você irá ajustar no config.lua, ele desaparece automaticamente. Em Configmanager.cpp Abaixo de: m_confInteger[OTSERV_DB_ENABLED] = getGlobalNumber(L, "otserv_db_enabled", 0); Adicione: #ifdef __BB_ANTI_LURE__ m_confInteger[SQM_LURE] = getGlobalNumber(L, "sqm", 50); #endif Em Configmanager.h abaixo de: #ifdef __TR_ANTI_AFK__ KICK_TIME, #endif Adicione: #ifdef __BB_ANTI_LURE__ SQM_LURE, #endif Agora em Game.cpp abaixo de: if(corpse){ internalAddItem(tile, corpse, INDEX_WHEREEVER, FLAG_NOLIMIT); creature->dropLoot(corpse->getContainer()); startDecay(corpse); } creature->die(); removeCreature(creature, false); } Adicione: #ifdef __BB_ANTI_LURE__//anti-lure if(Monster* monster = creature->getMonster()) { if(monster->spawned) { monster->CheckLured(); } } #endif Agora em Monster.cpp abaixo de: toLowerCaseString(strDescription); Adicione: #ifdef __BB_ANTI_LURE__ spawned = false; #endif Agora no final de Monster.cpp Adicione: #ifdef __BB_ANTI_LURE__//anti-lure bool Monster::CheckLured() { int32_t antiLure; Player* player; antiLure = g_config.getNumber(ConfigManager::SQM_LURE); int32_t deltax = std::abs(masterPos.x - getPosition().x); int32_t deltay = std::abs(masterPos.y - getPosition().y); int32_t deltaz = std::abs(masterPos.z - getPosition().z); if(deltax > antiLure || deltay > antiLure || deltaz > 2) {//modify here the monster max distance from spawn (x, y, z) g_game.removeCreature(this); return true; } return false; } #endif Agora em Monster.h abaixo de: bool canPushItems() const {return mType->canPushItems;} Adicione: #ifdef __BB_ANTI_LURE__//anti-lure bool spawned; bool CheckLured(); #endif Agora vá para Spawn.cpp abaixo de: Monster* monster = Monster::createMonster(mType); if(!monster){ return false; } Adicione: #ifdef __BB_ANTI_LURE__//anti-lure monster->spawned = true; #endif Pronto agora basta configurar, (use alt+p) ou vá em: Project->Project Options(Alt+P)->Parameters ->C++ Compiler Adicione isto: -D__BB_ANTI_LURE__ Agora para finalizar em Config.lua adicione isto em qualquer lugar: --SQM spawn from luring a monster sqm = 50 Pronto, agora dê rebuild all (Ctrl+F11). Créditos: Jackson Zani, betinhobageston
  22. Concerteza, se acabarem, será um ótimo code Era tudo oque precisariamos contra Nukers! Abraços!
  23. Brigado novamente conde! Você sabe aprecisar codes bons! Hehehe esse concerteza é um ótimo code, Abraços!
  24. Isso conde, hehehe muito útil para servers grandes, Porque não causa spam ;} só poderá falar pelo Help-chat hehehe Espero ter Ajudado Abraços!
  25. Muito boa sua aula, parabéns, ficou muito facil de entender. Abraços!
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...