Jump to content

Elijah

Inactive Member
  • Posts

    30
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Elijah

  1. quest change_level begin
        state start begin
            when ITEM_ID.use begin
                if pc.get_level() == 105 then
                    say("Do you really change your level?")
                    local select=select ("Yes", "No")
                        if 1==select
                            say("Your level was changed")
                            pc.set_level(104)
                            return
                        end
                        if 2==select
                            return
                        end
                else
                    return
                end
            end
        end
    end
        
    

    try it like this

     

     

    Don't work :s

     

    Error :

     

    if pc . get_level ( ) == 105 then

    say ( "Do you really change your level?" )

    local select = select ( "Yes" , "No" )

    if 1 == select

    say ( "Your level was changed" )

    pc . set_level ( 104 )

    return

    end

    if 2 == select

    return

    end

    else

    return

    end

    syntax error : [string "start"]:5: `then' expected near `say'

    Abort trap (core dumped)

     

     

  2. I didn't tested it, but i think it will work..

    quest change_level begin
    	state start begin
    		when ITEM_ID.use begin
    			if pc.get_level() == 105
    				say("Do you really change your level?")
    				local select=select ("Yes", "No")
    					if 1==select
    						say("Your level was changed")
    						pc.set_level(104)
    						return
    					end
    					if 2==select
    						return
    					end
    			else
    				return
    			end
    		end
    	end
    end
    	

     

     

     

    Your quest don't work with game 40k :s

    Error :

     

    if pc . get_level ( ) == 105

    say ( "Do you really change your level?" )

    local select = select ( "Yes" , "No" )

    if 1 == select

    say ( "Your level was changed" )

    pc . set_level ( < span class = "searchlite" > 104 < / span > )

    return

    end

    if 2 == select

    return

    end

    else

    return

    end

    syntax error : [string "start"]:2: `then' expected near `say'

    Abort trap (core dumped)

     

     

     

    Help me :)

  3. Fri Nov 28 20:00:00 CET 2014 :: The channel1-core1 looks down. We try to start now...

    Fri Nov 28 20:00:05 CET 2014 :: The Core was started now. PID: 1726

    Fri Nov 28 20:11:00 CET 2014 :: The channel1-core1 looks down. We try to start now...

    Fri Nov 28 20:11:05 CET 2014 :: The Core was started now. PID: 1726

    Fri Nov 28 20:22:00 CET 2014 :: The channel1-core1 looks down. We try to start now...

    Fri Nov 28 20:22:05 CET 2014 :: The Core was started now. PID: 1726

    Fri Nov 28 20:33:00 CET 2014 :: The channel1-core1 looks down. We try to start now...

    Fri Nov 28 20:33:05 CET 2014 :: The Core was started now. PID: 1726

    Fri Nov 28 20:35:08 CET 2014 :: The channel1-core3 looks down. We try to start now...

    Fri Nov 28 20:35:12 CET 2014 :: The Core was started now. PID: 1726

    All 11 minutes crash ...

    You are solutions ?

  4. Ok,

    It's work :)

    For install Mysql it's good, it's just : pkg-config mysql56-server

    And metin2 work.

     

    For this :

    	
    
    1. pkg update	
    2. pkg upgrade (Y)	
    3. go /usr/local/etc/ and Delete pkg.conf	
    4. pkg_add -r portupgrade	
    5. /usr/local/sbin/portupgrade -a

    For install apache it's ok with :

    cd /usr/ports/www/apache22
    make config
    make install

    But after for install php5 :'( :

    
    root@ns385667:/usr/ports/www/apache22 # cd /usr/ports/www/mod_php55
    root@ns385667:/usr/ports/www/mod_php55 # make config
    
    With make config it's good 

    But for make install clean I have little error :

    root@ns385667:/usr/ports/www/mod_php55 # make install clean
    ===>  mod_php55-5.5.17_1 is marked as broken: : Error from bsd.apache.mk. apache22 is installed (or APACHE_PORT is defined) and port requires apache.
    *** [install] Error code 1
    

    You are solution ?

     

  5. I use Freebsd 9.2 64 bits.

     

    It's same with mysql :

     

     

    root@ns3271:/usr/ports/databases/mysql55-server # make install
    pkg-static: PACKAGESITE in pkg.conf is deprecatedPlease create a repository configuration file
    ===>  mysql55-server-5.5.40 pkg(8must be version 1.3.8 or greaterbut you have 1.2.7_1You must upgrade the ports-mgmt/pkg port first.
    *** [
    installError code 1
    Stop in 
    /usr/ports/databases/mysql55-server.
    root@ns3271:/usr/ports/databases/mysql55-server 

     

    But You are install when ?

    Because now FreeBSD use only pkg_add for install package. It's new for september/october.

  6. Hi :)

    Now, FreeBSD use pkg_add command for install package.

    You are solution for install Apache22   /   PHP5   / PHP5 extension AND Metin2 ?


     

    If I install apache ... with sample command I have this error :

      

    pkg-static: PACKAGESITE in pkg.conf is no longer supported.  Convert to the new repository style.  See pkg.conf(5)
        pkg-static: Cannot parse configuration file!
        *** [check-already-installed] Error code 70

        Stop in /usr/ports/print/indexinfo.
        *** [run-depends] Error code 1

        Stop in /usr/ports/devel/m4.
        *** [install] Error code 1

        Stop in /usr/ports/devel/m4.
        *** [build-depends] Error code 1

        Stop in /usr/ports/devel/autoconf.
        *** [build-depends] Error code 1

        Stop in /usr/ports/www/apache24.
        *** [install] Error code 1

        Stop in /usr/ports/www/apache24.
        root@ns385667:/usr/ports/www/apache24 #

     


     

    Now I search a  good tutorial for install : Apache22   /   PHP5   / PHP5 extension AND Metin2 ?

     

    Thanks :)

     

  7. Hi :)

    I contact you because my server lag :'(

    I have dedicated server.

    I use game 40K.

     

    I have just 1 error in my syserr :

     

     

    SYSERR: Aug 25 01:41:56 :: heart_idle: losing 49 seconds. (lag occured)

     

    I put the command "top" in putty.

    Result :

     

     

    root@ks3367596:~ # top
    last pid: 46083;  load averages:  0.00,  0.00,  0.00    up 0+12:11:54  13:51:51
    38 processes:  1 running, 37 sleeping
    CPU:  0.6% user,  0.0% nice,  1.2% system,  0.0% interrupt, 98.1% idle
    Mem: 1078M Active, 544M Inact, 433M Wired, 416M Buf, 1857M Free
    Swap: 20G Total, 20G Free

      PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
     1676 root          4  20    0   247M   207M usem    0   4:28  0.00% game
     1674 root          4  20    0   455M   414M usem    1   4:17  0.00% game
     1672 root          4  20    0   155M   117M usem    0   3:40  0.00% game
     1587 root          4  20    0   183M   143M usem    0   3:26  0.00% game
     1589 root          4  20    0   147M   109M usem    0   3:10  0.00% game
     1678 root          4  20    0 85176K 46460K usem    0   1:39  0.00% game
     1585 root          4  20    0 40120K  8592K usem    1   1:21  0.00% game
     1583 root          9  20    0   108M 28404K usem    1   0:37  0.00% db
     1172 mysql        34  20    0   444M 70332K sbwait  1   0:24  0.00% mysqld
     1184 root          1  20    0   318M 22064K select  0   0:02  0.00% httpd
     1192 root          1  20    0 20340K  4820K select  0   0:01  0.00% sendmail
     1199 root          1  49    0 14176K  1864K nanslp  1   0:00  0.00% cron
      903 root          1  20    0 12084K  1772K select  1   0:00  0.00% syslogd
      989 bind          5  52    0 51288K 15472K kqread  0   0:00  0.00% named
    46023 root          1  20    0 16596K  2580K CPU0    0   0:00  0.00% top
     1179 root          1  20    0 46876K  5336K select  0   0:00  0.00% sshd
    46024 root          1  20    0 51536K  5712K select  1   0:00  0.00% sshd

     

     

    With putty ipcs -M :

     

     

            shmmax:    536870912    (max shared memory segment size)
            shmmin:            1    (min shared memory segment size)
            shmmni:          192    (max number of shared memory identifiers)
            shmseg:          128    (max shared memory segments per process)
            shmall:   2147483648    (max amount of shared memory in pages)

     

     

    And config core :

     

     

    HOSTNAME: channel1_core3
    CHANNEL: 1
    PORT: 13002
    P2P_PORT: 14002
    DB_PORT: 15000
    DB_ADDR: localhost
    MAP_ALLOW: 41 42 43 44 45 46
    TABLE_POSTFIX:
    PASSES_PER_SEC: 25
    SAVE_EVENT_SECOND_CYCLE: 180
    PING_EVENT_SECOND_CYCLE: 180
    PLAYER_SQL: localhost metin2 epv4minq player
    COMMON_SQL: localhost metin2 epv4minq common
    LOG_SQL: localhost metin2 epv4minq log
    LOCALE_SERVICE: france
    VIEW_RANGE: 20000
    CHECK_MULTIHACK: 1
    MALL_URL: 192.168.0.17/itemshop/ishop.php
    MAX_LEVEL: 105
    adminpage_ip0: 192.168.0.16
    adminpage_ip1: 192.168.0.16
    adminpage_ip2: 192.168.0.16
    adminpage_ip3: 192.168.0.16
    admin_page_password: dPm"21pe6D4
    BIND_IP: 91.121.154.22

     

     

    You think it's what the problem ?

     

    I use port 13000, 13010, 13020, 13030 (for  CH1 , 2 , 3 , 4)

     

    Thanks.

  8. Hi,

     

    I have two questions ^^

    I need a crontab for empty this table :

     

     

    I need crontab for So that I can automatically emptied.

     

    OdiKII9.png

     

    And second question :

    It's possible change this quest :

    quest bo_is begin
    	state start begin
    		function give_bonus_cash(account, count)
    			mysql_query("UPDATE account.account SET cash=cash+'"..count.."' WHERE id='"..account.."'")
    			syschat("Vous recevez "..count.." marques.")
    		end
    		when 80014.use or 80015.use or 80016.use or 80017.use begin
    			local tableByVnum = 
    			{
    				[80014] = 100,
    				[80015] = 500,
    				[80016] = 1000,
    			}
    			bourse_is.give_bonus_cash(pc.get_account_id(), tableByVnum[item.get_vnum()])
    			pc.remove_item(item.get_vnum(), 1)
    		end
    	end
    end

    For change the mysql_querry ?

    I need this quest, but not use mysql_query. It's possible ?

     

    Thanks ^^

  9. How analysing game.core file ?

    Because I open core5 ch1 game.core with notepad ++ but :

     

         €?   @   ¸`(        üÈÿÿüÈÿÿ    À>         ÉÿÿÉÿÿ           H 7      €?        `       HÉÿÿHÉÿÿ    
                                »Ð3Á(0ÊH                          `ºÀ) ºÀ)`»À)    ÏØ(ÏØ(ÀÏØ(@ÎØ(¬ÎØ(ÐÎØ(       Š (      €?               @ Á(      €?        СG        ˆÊÿÿ`-€(3Á(            €?   @          2         €?               @         €?                        ˜²G 4Á(   t ‰(     €?4Á(          ä _(      €?                 À(      €?        €³E                     ¸Î( ÀÎ( ÀÎ( ÀÎ( ÈÎ( ÈÎ((¹I ÆØ(ÀÆØ(€ÇØ(@ÈØ( ÉØ(ÀÉØ(€ÊØ(@ËØ(    ÈÝH04Á(                €?        ÑH       Ô E      €?        à¹I       à       €?        X¾E xg*  @ j¿     €?xg*  Y‘ÐËÿÿ   Ìÿÿ    ôËÿÿï        ôËÿÿï   üËÿÿÌÿÿ    À)_( P`(    àËÿÿøËÿÿ       €Íÿÿ    Íÿÿ˜Íÿÿ¼ÍÿÿÉÍÿÿÔÍÿÿãÍÿÿóÍÿÿÎÿÿ^ÎÿÿhÎÿÿƒÎÿÿžÎÿÿÀÎÿÿßÎÿÿëÎÿÿöÎÿÿ    ÏÿÿÏÿÿÏÿÿRÏÿÿcÏÿÿrÏÿÿ~Ïÿÿ       4€                                 î     ^(   Ùßÿÿ   qÃ
        ™ßÿÿ   @            ßÿÿ         @àÿÿ  

    (ƒ   “ t(s     €? ¬À(ƒ          à ÿÿ      €?                 ª?* Æ|*`I}*s    ÉÿÿÐÔF       –Å        ¤Èÿÿ¤Èÿÿ    ðÈÿÿðÈÿÿp3Á(        €?   @   -_(1    3Á(   

     

  10. Your dif don't work. Or it's an other error ^^

     

     

    Mon May  5 23:14:00 CEST 2014  :: The channel1-core5 looks down. We try to start now...
    Mon May  5 23:14:05 CEST 2014  :: The Core was started now. PID: 25382

    Checkpoint error is disabled but the core continue crash :s

     

    SYSERR: May  5 23:12:58 :: Process: FDWATCH: peer null in event: ident 30
    SYSERR: May  5 23:14:00 :: Process: FDWATCH: peer null in event: ident 25
     

    var/log/messages :

     

     

    May  5 23:12:58 ks3310611 kernel: pid 2015 (game), uid 0: exited on signal 4 (core dumped)
    May  5 23:13:59 ks3310611 kernel: pid 2005 (game), uid 0: exited on signal 4 (core dumped)

     

    Please help me :'(

×
×
  • 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.