Jump to content

Invictus

Inactive Member
  • Posts

    191
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Invictus

  1. last way is the most efficient due to more party members = harder dungeon/more mobs, as i said i hadn't gotten around to testing with dungeon flags and that was next on the list, other dungeons i've done have been purely for solo/boss kills. was going to use a timer to check but Iuzzo's will be the best choice i believe.

     

    but then coding at 3 am on no sleep for two days isn't always a great idea lmfao

     

    thanks for the help guys

  2. hey, anyone got a good efficient way to check if all the mobs are dead in a dungeon? as in there's not a single mob left.

    the reason being. d.count_monster blows, it has some sort of delay, not entirely sure why but say you kill X mob, and it outputs say the value of 10 as in 10 left, if you kill another within a few seconds it will still say 10 even tho theres actually 9. so that function wont work for me.

     

    d.check_eliminated - this did nothing, couldn't figure out how to use it couldnt make any output in chat etc or likewise.

     

    tried using quest flags, no luck on that part, got to test dungeon flags.

     

     

    also is there a way to check amount of players in a single part? i can't see any function in the function list.

     

     

    running 34k

     

    appreciate the help.

  3. #1 Check the level is correct in the conf.txt (data/db/conf.txt) also check syserrs after trying to delete

     

    #2 go to /quest and do rm -r object/ then ./qc RING.quest and see if the error presists, once again check and post errors

     

    #4

    quest hp begin
    	state start begin
    		when login or enter with pc.get_hp() < pc.get_max_hp() then
    		
    		-- write a function to give hp as i don't see one
    		end
    	end
    end
    		

  4. Hi, is it possible to load in multiple libs? as currently, i use one i've developed and one Imer developed. but upon loading them both in imers is disabled but mine works

    	echo -e "033[31m Startet die Datenbank ..033[0m"
    		cd data/db && env LD_32_PRELOAD="/usr/home/game/share/libdb_notxt.so" ./db &
    		sleep 2
    		echo -e "033[31m Die Datenbank wurde gestartet.033[0m"
    		echo -e "033[31m Startet den Loginserver ..033[0m"
    		cd data/auth && env LD_32_PRELOAD="/usr/home/game/share/libgame.so" ./auth && env LD_32_PRELOAD="/usr/home/game/share/functions.so" ./auth &
    		sleep 2
    		echo -e "033[31m Der Loginserver wurde gestartet[0m"
    		echo -e "033[31m Starte game99_1 ..033[0m"
    		cd ./game99/core1 && env LD_32_PRELOAD="/usr/home/game/share/libgame.so" ./game && env LD_32_PRELOAD="/usr/home/game/share/functions.so" ./game &
    		sleep 5
    		echo -e "033[31m game99 Core 1 wurde gestartet.033[0m"
    		echo -e "033[31m Starte game99_2 ..033[0m"
    		cd ./game99/core2 && env LD_32_PRELOAD="/usr/home/game/share/libgame.so" ./game && env LD_32_PRELOAD="/usr/home/game/share/functions.so" ./game &
    		sleep 5
    		echo -e "033[31m game99 Core 2 wurde gestartet.033[0m"
    		echo -e "033[31m Starte game99_3 ..033[0m"
    		cd ./game99/core3 && env LD_32_PRELOAD="/usr/home/game/share/libgame.so" ./game && env LD_32_PRELOAD="/usr/home/game/share/functions.so" ./game &
    		sleep 5
    		echo -e "033[31m game99 Core 3 wurde gestartet.033[0m"
    		echo -e "033[31m Starte game99_4 ..033[0m"
    		cd ./game99/core4 && env LD_32_PRELOAD="/usr/home/game/share/libgame.so" ./game && env LD_32_PRELOAD="/usr/home/game/share/functions.so" ./game &
    		sleep 2
    		echo -e "033[31m game99 Core 4 wurde gestartet.033[0m"
    		echo -e "033[31m Starte game99 Core 5 ..033[0m"
    		cd ./game99/core5 && env LD_32_PRELOAD="/usr/home/game/share/libgame.so" ./game && env LD_32_PRELOAD="/usr/home/game/share/functions.so" ./game &
    		sleep 5
    		echo -e "033[31m game99 Core 5 wurde gestartet.033[0m"
    		echo -e "033[31m Startet Channel 1 Core 1 ..033[0m"
    		cd ./channel1/core1 && env LD_32_PRELOAD="/usr/home/game/share/libgame.so" ./game && env LD_32_PRELOAD="/usr/home/game/share/functions.so" ./game &
    		sleep 5
    		echo -e "033[31m Channel 1 Core 1 wurde gestartet.033[0m"
    		echo -e "033[31m Startet Channel 1 Core 2 ..033[0m"
    		cd ./channel1/core2 && env LD_32_PRELOAD="/usr/home/game/share/libgame.so" ./game && env LD_32_PRELOAD="/usr/home/game/share/functions.so" ./game &
    		sleep 5
    		echo -e "033[31m Channel 1 Core 2 wurde gestartet.033[0m"
    		echo -e "033[31m Startet Channel 1 Core 3 ..033[0m"
    		cd ./channel1/core3 && env LD_32_PRELOAD="/usr/home/game/share/libgame.so" ./game && env LD_32_PRELOAD="/usr/home/game/share/functions.so" ./game &
    		sleep 5
    		echo -e "033[31m Channel 1 Core 3 wurde gestartet.033[0m"
    		echo -e "033[31m Startet Channel 1 Core 4 ..033[0m"
    		cd ./channel1/core4 && env LD_32_PRELOAD="/usr/home/game/share/libgame.so" ./game && env LD_32_PRELOAD="/usr/home/game/share/functions.so" ./game &
    		sleep 5
    		echo -e "033[31m Channel 1 Core 4 wurde gestartet.033[0m"
    		echo -e "033[31m Startet Channel 1 Core 5 ..033[0m"
    		cd ./channel1/core5 && env LD_32_PRELOAD="/usr/home/game/share/libgame.so" ./game && env LD_32_PRELOAD="/usr/home/game/share/functions.so" ./game &
    		sleep 5
    		echo -e "033[31m Channel 1 Core 5 wurde gestartet."
    		cd ./channel2/core1 && env LD_32_PRELOAD="/usr/home/game/share/libgame.so" ./game && env LD_32_PRELOAD="/usr/home/game/share/functions.so" ./game &
    		echo -e "033[31m Channel 2 Core 1 wurde gestartet.033[0m"
    		echo -e "033[31m Startet Channel 2 Core 2 ..033[0m"
    		cd ./channel2/core2 && env LD_32_PRELOAD="/usr/home/game/share/libgame.so" ./game && env LD_32_PRELOAD="/usr/home/game/share/functions.so" ./game &
    		sleep 5
    		echo -e "033[31m Channel 2 Core 2 wurde gestartet.033[0m"
    		cd ./channel2/core3 && env LD_32_PRELOAD="/usr/home/game/share/libgame.so" ./game && env LD_32_PRELOAD="/usr/home/game/share/functions.so" ./game &
    		sleep 5
    		echo -e "033[31m Channel 2 Core 3 wurde gestartet.033[0m"
    		cd ./channel2/core4 && env LD_32_PRELOAD="/usr/home/game/share/libgame.so" ./game && env LD_32_PRELOAD="/usr/home/game/share/functions.so" ./game &
    		sleep 5
    		echo -e "033[31m Channel 2 Core 4 wurde gestartet.033[0m"
    		cd ./channel2/core5 && env LD_32_PRELOAD="/usr/home/game/share/libgame.so" ./game && env LD_32_PRELOAD="/usr/home/game/share/functions.so" ./game &
    		sleep 5
    		echo -e "channel 2 started"
    		cd ..
    	;;

  5. A flaw here, in this dungeon when you're in a party if you and your party member are hitting the same mob it'll add two to the 'totalkill' quest flag, what other ways are there of getting around this ?

     

    the solo version works perfectly, just this left after you kill X amount it spawns the next set of mobs depending on the QF value.

    		when 6001.kill or 6002.kill or 6003.kill or 6004.kill or 6005.kill or 6006.kill or 6007.kill or 6008.kill or 6009.kill or 8052.kill with pc.get_map_index() >= 2160000 and pc.get_map_index() <= 2165000 begin
    			local killcount = pc.getqf("totalkill")
    				if party.is_party() then
    					party.setqf("totalkill", killcount + 1)
    					chat(pc.getqf("totalkill"))
    				else
    					pc.setqf("totalkill", killcount +1)
    					chat("solo")
    				end
    			--syschat(pc.getqf("totalkill"))
    			if pc.getqf("totalkill") == 21 then
    				d.regen_file("data/dungeon/solo_purgatory/regen2.txt")
    			elseif pc.getqf("totalkill") == 38 then
    				d.regen_file("data/dungeon/solo_purgatory/regen3.txt")
    			elseif pc.getqf("totalkill") == 43 then
    				d.regen_file("data/dungeon/solo_purgatory/regen4.txt")
    			end			
    		end
×
×
  • 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.