Jump to content

Onairda

Members
  • Posts

    181
  • Joined

  • Last visited

Posts posted by Onairda

  1. hi what need to edit about adding a custom mob 

    jobname.lua & lub (done)

    npcidentity.lua & lub (done)

    mob_db.txt (done)

    i also pasted the sprite at data/sprite/¸ó½ºÅÍ/

    what should i edit more ? because its failed to launch the monster i started the monster id at 4050 to 4068
    thankyou 

    solve i just lower the mob id to 2083 

     

  2. On 3/14/2017 at 3:48 AM, ZelosAvalon said:

    Can someone help me edit my CMS News?
    CMSNews.thumb.png.4453e921399a686bad852c31d25b0ec8.png

    I'm trying to leave it that way,


    CMSNews.thumb.png.9d1a27b6a2b9f5e92db2ff2374f36f48.png
     

    but I've received many errors

     

    error.thumb.png.3ac689652c1f2e950724caf9d88dd6ae.png

    I still do not have much knowledge, but I'm doing a web designer course, soon I'll contribute more to the forum, but if anyone can help me now I'll be grateful!

    this is what i want in my view:

    newswp.png.5aa300bbf2981ebd97d4e33797c05b3b.png

    I hope you understand what I wanted to show!

    When we create a news item we will inform if the news are: news, update or event, so when it appears in the view it will be distinguished from each other.

    The IMG orange will be where an image will appear that will show if the news is: event, update or news, it will be declared in the menu during the creation of the news

    updatenewsevent.png.a4dd3fb57d5097c7175941a55634674c.png

    The green IMG will be where the image of the link entered in the creation will appear

    58c6f8acf273e_imagelink.png.f3b0e33e281c7cc423c6cf023476e3ca.png

    my news is based in warp portal news

    thanks anyway, best regards ZelosAvalon

     

    view.png

    is this feature is available in CMS ?? :)

  3. hi please help anyone PHP web coder , i want to make this button , when click will open a new tab, please

    i don't know where should i place the formtarget="_blank" please help
     

    Quote
    
    <form action="https://<?php echo Flux::config('PayPalIpnUrl') ?>/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_donations" />
    <input type="hidden" name="notify_url" value="<?php echo $this->url('donate', 'notify', array('_host' => true)) ?>" />
    <input type="hidden" name="return" value="<?php echo $this->url('main', 'index', array('_host' => true)) ?>" />
    <input type="hidden" name="custom" value="<?php echo $customDataEscaped ?>" />
    <input type="hidden" name="business" value="<?php echo $businessEmail ?>" />
    <input type="hidden" name="item_name" value="<?php echo $itemName ?>" />
    <input type="hidden" name="amount" value="<?php echo (float)$amount ?>" />
    <input type="hidden" name="no_shipping" value="0" />
    <input type="hidden" name="no_note" value="1" />
    <input type="hidden" name="currency_code" value="<?php echo $donationCurrency ?>" />
    <input type="hidden" name="tax" value="0" />
    <input type="hidden" name="lc" value="US" />
    <input type="hidden" name="bn" value="PP-DonationsBF" />
    <p style="text-align: center"><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif"
    	name="submit" alt="PayPal - The safer, easier way to pay online!" /></p>
    <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
    formtarget="_blank"
    </form>

     

     

  4. Hi please i need some help, what is the code to connect my Script into my Database table . here is my script please help .
    ready also the script this is very basic :)
     

    -	script	test	1,{
    OnPCLoginEvent:
    if( !#Verification ){
    mes "Input Verification Code:";
    input .@verificationcode; //This the Player Input Where he/she will input the Code that we given 
    
    if( .@verification != my SqL Database ) //then this is the Tracking area where i want to connect this script to my Database  if the inputed verificationcode is not equal in the code on my database the player will be kicked :)
    {
    mes"Sorry you Inputed a Code That is not List in our Database";
    next;
    atcommand "@kick" Player // the player will be kick
    }
    }
    else
    {
    set #Verification,1; //meaning if this is set to 1 this will not pop up again when they are logging in
    mes "Welcome to the Server :)";
    close;
    }
    
    
    }

     

  5. hi :) . i want to request an npc that will popup to all new Register player ingame. that they need a code to proceed ingame 

    this msg will just only pop up once :)

    example:

    i registered a new account from my control panel then

    when i login in-game and created a new character .

    input box pop up : "Hi Please Enter Verification Code:"
    then trace the Verification code in Database :) . if the Verification code Exist they can now play (please only 1 code for 1 Account), but if  the verification code is not in database or wrong they will be kick out :) and if they try to login the script will pop up again  Enter Verfication code: 
    Thankyou iloveyou

  6. How to Remove this message 
    "please wait 10 seconds before trying to logout" 

     

    i take almost 5min before i can change my character :( please help . 
    i tried to /sit then wait for 10 sec . afger 10sec click character select then still "please wait 10 seconds before trying to logout  "
    i tried to teleport then character select still " please wait 10 seconds before trying to logout " 

    help

  7. 7 hours ago, chatterboy said:

    Suggestion sir its better use the atcommand_athena.conf ^_^

    but i have many custom map ingame :(. using this script is more useful and easy to add another map in @go commands please someone help /thx/heh 

  8. -	script	gobind	-1,{
    // Script-Based @go Alternative by jTynne
    // Version: 2.0 - January 2013
    // Feel free to edit this script or simply use it as a base.
    // Please give credit if you re-release this script with your own modifications.
    // Want to show your thanks via Paypal? Shoot me a buck or two : [email protected] - Thanks!
    
    OnInit:
    	unbindatcmd "go";
    	bindatcmd("go","gobind::OnAtcommand",0,10);
    	end;
    	
    
    OnAtcommand:
    set @warp$,.@atcmd_parameters$[0];
    set @warp,@warp$;
    
    if(@warp$ == "list") { dispbottom "Usage: @go #"; 
    dispbottom "0=Prontera         1=Morroc        2=Geffen      3=Payon      4=Alberta";
    dispbottom "5=Izlude           6=Al De Baran   7=Lutie       8=Comodo     9=Yuno";
    dispbottom "10=Amatsu          11=Gonryun      12=Umbala     13=Niflheim  14=Louyang";
    dispbottom "15=Novice Grounds  16=Prison       17=Jawaii     18=Ayothaya  19=Einbroch";
    dispbottom "20=Lighthalzen     21=Einbech      22=Hugel      23=Rachel    24=Veins";
    dispbottom "25=Moscovia        26=Midgard Camp 27=Manuk      28=Splendide 29=Brasilis";
    dispbottom "30=El Dicastes     31=Mora         32=Dewata     33=Malangdo  34=Port Malaya";
    dispbottom "35=Eclage          36=Gladia       37=Serenglade 38=Excolo    39=Sakura Town";
    dispbottom "40=Eden Village    41=Helheim      42=Paros Lighthouse 43=Paradise Group HQ  44=Morroc Ruins";
    dispbottom "45=Old Morroc      46=Old Payon    47=Autumn Prontera      48=Winter Prontera";
    dispbottom "49=Prontera Job Building           50=Verus                51=jTynne's Grotto";
    dispbottom "52=Deathmas Prontera               53=Muspelheim";
    dispbottom "Note: Non-VIP users have a 3 second delay when using this command and cannot access beyond @go 5.";
    end;
    }
    
    if(getgroupid() < 1) { 
    	if(@warp > 5) { dispbottom "[Server] : Non-VIP members may only use @go 0-5. To use the full list, please upgrade to VIP status."; end;}
    	progressbar "green",3; }
    
    // map name,x,y,level requirement, group id minimum requirement
    if(@warp$ == "0" || @warp$ == "pr" || @warp$ == "pro" || @warp$ == "pron" || @warp$ == "pront" || @warp$ == "prontera") { callsub	Process,"prontera",156,191,0,0; }
    if(@warp$ == "1" || @warp$ == "moc" || @warp$ == "mor" || @warp$ == "moro" || @warp$ == "moroc" || @warp$ == "morocc") { callsub	Process,"morocc",156,93,0,0; }
    if(@warp$ == "2" || @warp$ == "gef" || @warp$ == "geffen") { callsub	Process,"geffen",119,59,0,0; }
    if(@warp$ == "3" || @warp$ == "pay" || @warp$ == "payo" || @warp$ == "payon") { callsub	Process,"payon",177,101,0,0; }
    if(@warp$ == "4" || @warp$ == "al" || @warp$ == "alb" || @warp$ == "alberta") { callsub	Process,"alberta",192,147,0,0; }
    if(@warp$ == "5" || @warp$ == "iz" || @warp$ == "izl" || @warp$ == "izlude") { callsub	Process,"izlude",128,114,0,0; }
    if(@warp$ == "6" || @warp$ == "ald" || @warp$ == "alde" || @warp$ == "aldebaran") { callsub	Process,"aldebaran",140,131,0,0; }
    if(@warp$ == "7" || @warp$ == "xmas" || @warp$ == "lutie") { callsub	Process,"xmas",147,134,0,0; }
    if(@warp$ == "8" || @warp$ == "co" || @warp$ == "com" || @warp$ == "comodo") { callsub	Process,"comodo",209,143,0,0; }
    if(@warp$ == "9" || @warp$ == "ju" || @warp$ == "yu" || @warp$ == "juno" || @warp$ == "yuno") { callsub	Process,"yuno",157,51,0,0; }
    if(@warp$ == "10" || @warp$ == "ama" || @warp$ == "amat" || @warp$ == "amatsu") { callsub	Process,"amatsu",198,84,0,0; }
    if(@warp$ == "11" || @warp$ == "gon" || @warp$ == "gonr" || @warp$ == "gonryun") { callsub	Process,"gonryun",160,120,0,0; }
    if(@warp$ == "12" || @warp$ == "um" || @warp$ == "umb" || @warp$ == "umbala") { callsub	Process,"umbala",89,157,0,0; }
    if(@warp$ == "13" || @warp$ == "nif" || @warp$ == "nifl" || @warp$ == "niflh" || @warp$ == "niflheim") { callsub	Process,"niflheim",21,153,0,0; }
    if(@warp$ == "14" || @warp$ == "lou" || @warp$ == "ly" || @warp$ == "louyang") { callsub	Process,"louyang",217,40,0,0; }
    if(@warp$ == "15" || @warp$ == "nov" || @warp$ == "ng") { callsub	Process,"new_1-1",53,111,0,10; }	// Novice Grounds : GM Group 10 or higher only.
    if(@warp$ == "16" || @warp$ == "jail" || @warp$ == "prison") { callsub	Process,"sec_pri",23,61,0,10;}		// Prison: GM Group 10 or higher only.
    if(@warp$ == "17" || @warp$ == "jaw" || @warp$ == "jawa" || @warp$ == "jawaii") { callsub	Process,"jawaii",249,127,0,0; }
    if(@warp$ == "18" || @warp$ == "ayo" || @warp$ == "aya" || @warp$ == "ayothoya" || @warp$ == "ayathoya" || @warp$ == "ayothaya") { callsub	Process,"ayothaya",151,117,0,0; }
    if(@warp$ == "19" || @warp$ == "ein" || @warp$ == "ein1" || @warp$ == "einbr" || @warp$ == "einbro" || @warp$ == "einbroch") { callsub	Process,"einbroch",64,200,0,0; }
    if(@warp$ == "20" || @warp$ == "lhz" || @warp$ == "light" || @warp$ == "lighthalzen") { callsub	Process,"lighthalzen",158,92,0,0; }
    if(@warp$ == "21" || @warp$ == "einbe" || @warp$ == "ein2" || @warp$ == "einbech") { callsub	Process,"einbech",70,95,0,0; }
    if(@warp$ == "22" || @warp$ == "hu" || @warp$ == "hug" || @warp$ == "hugel") { callsub	Process,"hugel",96,145,0,0; }
    if(@warp$ == "23" || @warp$ == "ra" || @warp$ == "rach" || @warp$ == "rachel") { callsub	Process,"rachel",130,110,0,0; }
    if(@warp$ == "24" || @warp$ == "ve" || @warp$ == "vei" || @warp$ == "vein" || @warp$ == "veins") { callsub	Process,"veins",216,123,0,0; }
    if(@warp$ == "25" || @warp$ == "mosc" || @warp$ == "mosk" || @warp$ == "mosco" || @warp$ == "moscov" || @warp$ == "moscovia") { callsub	Process,"moscovia",223,184,0,0; }
    if(@warp$ == "26" || @warp$ == "camp" || @warp$ == "mid" || @warp$ == "midgard") { callsub	Process,"mid_camp",180,240,0,0; }
    if(@warp$ == "27" || @warp$ == "man" || @warp$ == "manuk") { callsub	Process,"manuk",282,138,0,0; }
    if(@warp$ == "28" || @warp$ == "spl" || @warp$ == "splen" || @warp$ == "splend" || @warp$ == "splendide") { callsub	Process,"splendide",211,179,0,0; }
    if(@warp$ == "29" || @warp$ == "br" || @warp$ == "bra" || @warp$ == "bras" || @warp$ == "brasi" || @warp$ == "brasil" || @warp$ == "brasilis") { callsub	Process,"brasilis",182,239,0,0; }
    if(@warp$ == "30" || @warp$ == "el" || @warp$ == "el dic" || @warp$ == "dic" || @warp$ == "dicas" || @warp$ == "dicast" || @warp$ == "el dicastes" || @warp$ == "dicastes") { callsub	Process,"dicastes01",198,187,0,0; }
    if(@warp$ == "31" || @warp$ == "mor" || @warp$ == "mora") { callsub	Process,"mora",44,151,0,0; }
    if(@warp$ == "32" || @warp$ == "dew" || @warp$ == "dewa" || @warp$ == "dewata") { callsub	Process,"dewata",200,180,0,0; }
    if(@warp$ == "33" || @warp$ == "mal" || @warp$ == "malang" || @warp$ == "malangdo") { callsub	Process,"malangdo",140,114,0,0; }
    if(@warp$ == "34" || @warp$ == "port" || @warp$ == "port malaya" || @warp$ == "malay" || @warp$ == "malaya") { callsub	Process,"malaya",242,211,0,0; }
    if(@warp$ == "35" || @warp$ == "ecl" || @warp$ == "ecla" || @warp$ == "eclag" || @warp$ == "eclage") { callsub	Process,"eclage",110,39,0,0; }
    // Custom @go locations below. Also edit them in or out of the master list found towards the top of this script file.
    if(@warp$ == "36" || @warp$ == "gla" || @warp$ == "glad" || @warp$ == "gladia") { callsub	Process,"gladia",73,71,0,0; }
    if(@warp$ == "37" || @warp$ == "ser" || @warp$ == "seren" || @warp$ == "serenglade") { callsub	Process,"serenglade",84,72,0,0; }
    if(@warp$ == "38" || @warp$ == "ex" || @warp$ == "exc" || @warp$ == "excolo") { callsub	Process,"excolo",101,93,0,0; }
    if(@warp$ == "39" || @warp$ == "sak" || @warp$ == "sakura") { callsub	Process,"sakura",114,144,0,0; }
    if(@warp$ == "40" || @warp$ == "ed" || @warp$ == "eden") { callsub	Process,"eden",61,38,0,0; }
    if(@warp$ == "41" || @warp$ == "hel" || @warp$ == "hell" || @warp$ == "helh" || @warp$ == "helheim") { callsub	Process,"helheim",132,111,0,0; }
    if(@warp$ == "42" || @warp$ == "par" || @warp$ == "paros" || @warp$ == "lighthouse") { callsub	Process,"cmd_fild07",132,131,0,0; }
    if(@warp$ == "43" || @warp$ == "hq" || @warp$ == "paradise") { callsub	Process,"moc_para01",30,15,0,0; }
    if(@warp$ == "44" || @warp$ == "ruins" || @warp$ == "morocc ruins") { callsub	Process,"moc_ruins",101,112,0,0; }
    if(@warp$ == "45" || @warp$ == "mem1" || @warp$ == "morocc2") { callsub	Process,"morocc_mem",160,116,0,0; }
    if(@warp$ == "46" || @warp$ == "mem2" || @warp$ == "payon2") { callsub	Process,"payon_mem",90,149,0,0; }
    if(@warp$ == "47" || @warp$ == "autumn" || @warp$ == "autumn prontera" || @warp$ == "fall") { callsub	Process,"au_pront",155,186,0,0; }
    if(@warp$ == "48" || @warp$ == "winter" || @warp$ == "winter prontera" || @warp$ == "snow") { callsub	Process,"win_pront",155,186,0,0; }
    if(@warp$ == "49" || @warp$ == "prt_in" || @warp$ == "job") { callsub	Process,"prt_in",43,107,0,0; }
    if(@warp$ == "50" || @warp$ == "ver" || @warp$ == "verus") { callsub	Process,"verus04",110,215,0,0; }
    if(@warp$ == "51" || @warp$ == "jt" || @warp$ == "jtynne" || @warp$ == "tynne") { if(getgroupid() < 5) { dispbottom "[jTynne] : Sorry, you can't sit with us."; end;} callsub	Process,"jtynne01",48,67,0,0; }
    if(@warp$ == "52" || @warp$ == "dxmas" || @warp$ == "kimi" || @warp$ == "death" || @warp$ == "deathmas" || @warp$ == "celine") { callsub	Process,"win_pront13",155,190,0,0; }
    if(@warp$ == "53" || @warp$ == "muspelheim" || @warp$ == "mus" || @warp$ == "muspel") { callsub	Process,"muspelheim",130,149,0,0; }
    
    else {
    //  || @warp$ == ""
    dispbottom "[Server] : To use @go, enter a number 0 or greater. For a full list of available warps, type '@go list'.";
    end;
    }
    Process:
    set @group,getarg(4);
    set @mapname$,getarg(0);
    set @x,getarg(1);
    set @y,getarg(2);
    if(@group > 0) { if(getgroupid() < @group) { dispbottom "[Server] : This map cannot be accessed by your group/account level."; end;} }
    	specialeffect2 543;
    	sleep2 1;
    warp @mapname$,@x,@y;
    end;
    
    
    
    
    
    end;
    
    }

    hi  how can i make that script will not bypass the map<tab>mapflag<tab>nowarp and nowarpto . 

    i have an idea is this possible please help 

    if(character at guild_vs5)

    {
    unbindatcmd "go"; ?

    or 

    disable @commands in the area
    }

×
×
  • Create New...