Jump to content

trickerytrickery

Members
  • Posts

    40
  • Joined

  • Last visited

Posts posted by trickerytrickery

  1. Du darfst nicht vergessen, dass das Spiel auf einer Client-Server-Client Communication arbeitet.

     

    Die Daten müssen sowohl im Client als auch im Server übereinstimmen

     

    Wie ElDragon schon gesagt hat, musst du diese natürlich auch noch am Server anpassen : >

  2. Datenbank Port 80 ~

     

    Entweder du hast den Fixport für HTTP geändert, was Ich nicht glaube... dann ist das kein Wunder warum/weshalb das nicht funktioniert.

     

    Wamp ist eine Kombination aus Web/Apache/Php/DB(Mysq) für Windows, wie LAMP in dem Fall für Linux. (Cleaninstall)

     

    Trozdem hast du einen Webserver standart (Http) auf Port 80

     

    Wie soll die Datenbank dann über Port 80 Kommunizieren? 

     

    Der Standart Mysqlport ist 3306.

     

    Gib 3306 zur Kommunikation Frei und änder deine Config auf 3306.

     

    Habs gerade auf einem Frischen Wamp probiert, ohne Probleme.

     

     

    Hat sich das Problem mittlerweile gelöst?

  3. Scenario :

     

    Array full of Items 

     

    If Player has one or more Items of the Array, he will get 1 reward, if he has 2 he gets 2 rewards etc etc. // And gets the items he has deleted ofcourse.

     

    I cant get it to work, could anyone help me out?

     

     
    
    
    testmap_,10,191,6	script	Item Trader	494,{
    	set .npcname$, "[Item Trader]";
    	
    	mes .npcname$;
    	mes "Would you like to exchange Customs for Souls?";
    	menu "Sure!",-,"Not now...", EXIT;
    	next;
    	mes "For each item you have on this list:";
    	mes "#1 - Tier 2 Equips !REMOVE CARDS BEFOR!";
    	mes "I'll reward you with one Soul!";
    	mes "ARE YOU REALLY SURE?";
    	mes "LIKE REALLY REALLY SURE?";
    	mes "Please remove your Cards beforhand !";
    	mes "Last Warning ! you can abort with @go 0 !"
    	mes "Okay... Ready";	
    	next;
    	mes "Let's get started.";
    	next;
    	mes "...";
    
    	setarray .@itemlist[0],21267,21264,22734,21261,22739,21265,21334,21330,21329,21325,21336,21324,5361,20628,20645,20619,20690,20615;
    	set .@reward, 0;
    	set .@count, 0;
    	
    	for( set .@i,0; .@i < getarraysize(.@itemlist); set .@i,.@i + 1 )
    		{
    			if(countitem(.@itemlist[.@i]) >= 1)
    				set .@count, .@count + 1;
    				set .@reward, .@reward + .@count;
    		}
    
    	if (.@count > 0)
    			{
    				mes "Alright! Here you go!";
    				for( set .@i,0; .@i < getarraysize(.@itemlist); set .@i,.@i + 1 )
    					{
    							set .@countdel, countitem(.@itemlist[.@i]);
    							delitem .@itemlist[.@i], .@countdel;
    					}
    				getitem 7701,.@reward;
    				close;
    			}
    	else
    			{
    			goto NOITEM;
    			}
    
    	NOITEM:
    		next;
    		mes .npcname$;
    		mes "Do not try to fool me! You do not have any of the items I require!";
    		close;
    
    	EXIT:
    		next;
    		mes .npcname$;
    		mes "Please do return again!";
    		close;
    
    }
    
  4. Hello.

     

    Fresh Debian Install

    apt-get install git make gcc libmysqlclient-dev zlib1g-dev libpcre3-dev
    git clone https://github.com/rathena/rathena.git ~/rAthena
    git pull
     ./configure --enable-packetver=YYYYMMDD  <-- Client Date

    Give Permissions on User/Root

     make server 

    And Yes ive used the Search function, and yes there are other Topics about it - either with no answers at all or they modified the source (Remind - THIS IS A FRESH INSTALL) !

     

    make[1]: Entering directory `/root/rAthena/src/map'
            MKDIR   obj
            CC      atcommand.c
    In file included from pc.h:15:0,
                     from channel.h:7,
                     from atcommand.c:20:
    itemdb.h:453:15: error: field ‘delay_sc’ has incomplete type
    make[1]: *** [obj/atcommand.o] Error 1
    make[1]: Leaving directory `/root/rAthena/src/map'
    make: *** [map] Error 2

     

     

    Tried it with make sql (outdated) too or double make server or clean befor.

     

    Help please.
     

×
×
  • Create New...