Jump to content

NewWars

Inactive Member
  • Posts

    44
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by NewWars

  1. replace with: if (fp) { fprintf(fp, "game perforce revision: 40250\n"); Or whatever string you wanna put there
  2. <command-line>: warning: missing terminating " characterversion.cpp:10: error: missing terminating " characterversion.cpp: In function 'void WriteVersion()':version.cpp:10: error: expected primary-expression before ')' token Its obvious to resolve, just read the error
  3. I did not understand that piece of code really but, check on your locale, the variable LOCALE_OK both client and serverside if they are alright.
  4. If you do the topic you have to post the quest here, or i can do nothing for you.
  5. Hello m2dev, im going straight to the point Imagine, i have Mission1.quest: In words, i have mission1.quest, that on login get the character race and executes an quest file for each race but i have to return if race suceeded the mission or not, if suceeded execute mission2.quest, if not, restart mission Whats the better solution to turn this scenario real? Thanks in advance.
  6. Sorry for dugging up this topic but... What if stil gets same problem even with letter started? error svside: OnInfo: QUEST no info event (quest ) Can it be from interfacemodule.py from client-root, when trying to open a window, on def OpenQuestWindow, it doesnt give the index? Altough, maybe what i said makes no sense bcuz, other quest i have compiled in server, uses same start letter method and then button info, and works properly...
  7. Thanks to all, but i fixed it already. When starting a new dungeon, you need to start it alone, then you use login event to prepare for dungeon itself, and then keep on. Thanks to all that helped.
  8. I dont understant server timer, altough, its easy and the same, but im costumed to quest with timer only. It's almost the same. You're just unable to use functions for just one player. With a servertimer you could use if d.select(get_server_timer_arg()) then inside of the servertimer trigger that the instance of the dungeon is selected then it should work. Like this is good? Sorry if i misunderstood, i really suck at dungeon questing xD quest somedungeon begin state start begin when 20090.chat."Dungeon" begin say_title("Nub") if pc.get_level() > 40 then say("") say("O limite de entrada é nivel 40") say("Esta caverna é muito facil para ti.") else say("") say("Estão "..game.get_event_flag("edplayers").." soldados na caverna") say("") say_reward("Queres entrar na caverna?") say("") local enter = select("Sim", "Não") if enter == 1 then pc.warp(928800 , 447700) elseif enter == 2 then return end end end --Sala 1 when login with pc.get_map_index() == 45 begin game.set_event_flag(("edplayers"), game.get_event_flag("edplayers") + 1) pc.set_warp_location(45, 72, 129) end when logout with pc.get_map_index() == 45 begin game.set_event_flag(("edplayers"), game.get_event_flag("edplayers") - 1) end when kill with npc.get_race() == 8003 and pc.get_map_index() == 45 begin server_timer("easy_dungeon_floor2", 5, pc.get_map_index()) end --Sala 2 when easy_dungeon_floor2.server_timer begin if d.select(get_server_timer_arg()) then d.new_jump_all(45, 108, 548) d.notice("Os amaldiçoados estão a atacar!") d.notice("Elimina todos para passarem a proxima fase") --d.regen_file("data/dungeon/easy_dungeon/easy_dungeon_sala_2.txt") d.setf("easydungeon", 1) end end end end
  9. What do you mean with in item_proto where do i have to look? I can't see the name of items only by special items like bravery cape or blessing marble or thief gloves Maybe thats the problem, the items you have in the shop you dont have in clienteside item_proto, but you have in server item_proto, thats why default icon(gal) appears. Try adding the items to the clientside item_proto and say the results.
  10. I dont understant server timer, altough, its easy and the same, but im costumed to quest with timer only. I think i am not that dumb xD. I tried with other monkey caves too, like 5 and 25(other kingdom caves) Maybe dungeon is blocked by game in some mapindex? I dont know why it doesnt work properly... Thanks in advance.
  11. Hey guys. I am having some trouble using monkey dungeon as a real dungeon quest. On the 2º room timer, the dungeon start, d.new_jump_all() doesnt teleport, and doesnt say any more next messages, so i presume that its not starting the dungeon. Map Index: 45 Here is a part of the quest: quest somedungeon begin state start begin when 20090.chat."Dungeon" begin say_title("Nub") if pc.get_level() > 40 then say("") say("O limite de entrada é nivel 40") say("Esta caverna é muito facil para ti.") else say("") say("Estão "..game.get_event_flag("edplayers").." soldados na caverna") say("") say_reward("Queres entrar na caverna?") say("") local enter = select("Sim", "Não") if enter == 1 then pc.warp(928800 , 447700) elseif enter == 2 then return end end end --Sala 1 when login with pc.get_map_index() == 45 begin game.set_event_flag(("edplayers"), game.get_event_flag("edplayers") + 1) pc.set_warp_location(45, 72, 129) end when logout with pc.get_map_index() == 45 begin game.set_event_flag(("edplayers"), game.get_event_flag("edplayers") - 1) end when kill with npc.get_race() == 8003 and pc.get_map_index() == 45 begin timer("easy_dungeon_floor2", 5) end --Sala 2 when easy_dungeon_floor2.timer begin chat("Jump all 2 Floor") d.new_jump_all(45, 108, 548) -- DOESNT WORK ANYMORE HERE -- d.notice("Os amaldiçoados estão a atacar!") d.notice("Elimina todos para passarem a proxima fase") --d.regen_file("data/dungeon/easy_dungeon/easy_dungeon_sala_2.txt") d.setf("easydungeon", 1) end end end What am i missing? I break the 8003 stone, and nothing happens... I am noob with dungeon :/.. Best Regards
  12. Hello guys. Can you say wich binary revs have the net obj PHASE_WINDOW_LOGO defined? I know that 2k < dont have, and i think sg 34669 doesn't have either, i tested and not defined. Thanks in advance.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.