Poseidon

Members
  • Content Count

    107
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

  • Days Won

    1

Poseidon last won the day on March 1 2014

Poseidon had the most liked content!

Community Reputation

6 Neutral

1 Follower

About Poseidon

  • Rank
    Poporing

Profile Information

  • Gender
    Male
  • Location
    United Kingdom
  • Server
    AlfheimRO

Contact Methods

Recent Profile Visitors

2,505 profile views
  1. Poseidon

    Applying diff patch in putty or linux

    you will need to install a program called WinSCP , login to your server using winscp and then open up the .diff file with notepad or notepad++ and edit the files manually.
  2. Hi guys, Ive been trying to add this to the end of script.c at line 23440 int viewpointmap_sub(struct block_list *bl, va_list ap) { struct map_session_data *sd; int npc_id, type, x, y, id, color; npc_id = va_arg(ap, int); type = va_arg(ap, int); x = va_arg(ap, int); y = va_arg(ap, int); id = va_arg(ap, int); color = va_arg(ap, int); sd = (struct map_session_data *)bl; clif_viewpoint(sd, npc_id, type, x, y, id, color); return 0; } BUILDIN_FUNC(viewpointmap) { int type, x, y, id, color, m; const char *map_name; map_name = script_getstr(st, 2); if ((m = map_mapname2mapid(map_name)) < 0) return true; // Invalid Map type = script_getnum(st, 3); x = script_getnum(st, 4); y = script_getnum(st, 5); id = script_getnum(st, 6); color = script_getnum(st, 7); map_foreachinmap(viewpointmap_sub, m, BL_PC, st->oid, type, x, y, id, color); return true; } // Add this to the list of script commands defined, look through the code, should be self explanitory. BUILDIN_DEF(viewpointmap,"siiiii"), but i receive this error script.c:23441:2: error: expected expression before ‘int’ int viewpointmap_sub(struct block_list *bl, va_list ap) { ^ Makefile:76: recipe for target 'obj/script.o' failed make[1]: *** [obj/script.o] Error 1 make[1]: Leaving directory '/home/rob/rathena/src/map' Makefile:51: recipe for target 'map' failed make: *** [map] Error 2 the file i got the code from ask me to add the code anywhere in between BUILDING_FUNC's i believe i have done that but obviously i haven't as it is giving errors out while compiling on Ubuntu server Any help will be appreciated Kind regards
  3. Poseidon

    adding a total price to this code

    { ** set [email protected], 100; // Zeny per identify ** getinventorylist; for(set [email protected],0; [email protected]<@inventorylist_count; set [email protected],[email protected]+1) { if (@inventorylist_identify[[email protected]]) continue; ** if (Zeny < [email protected]) { dispbottom "It costs "[email protected]+" to identify an item."; break; }** set Zeny, [email protected]; delitem2 @inventorylist_id[[email protected]],1,0,0,0,0,0,0,0; getitem @inventorylist_id[[email protected]],1; setarray [email protected][0], [email protected][0]+1, [email protected][1][email protected]; } if ([email protected][0]) { message strcharinfo(0),"No items identified."; end; } specialeffect2 154; message strcharinfo(0),"Identified "[email protected][0]+" items"+(([email protected][1])?" for "[email protected][1]+" Zeny":"")+"."; end; } By the first double star you set the price it will cost for the npc to identify for player second set of double stars this bit "[email protected]+" prints out what you set the price at
  4. Poseidon

    custom server status script for FluxCP

    so i would like to put my code here for you guys to tell me if Im on the right track please <?php $serverStatus[$groupName][$serverName] = array( 'ServerOnline' => $athenaServer->CharServer->mapServer->isUp (), ); ?> should this combine all 3 to make it into one showing the server to be online or offline hope you understand what i would like to achieve here Kind Regard Rob
  5. hi guys Could i request a custom server script for FluxCP? please what i would like is the PHP code to show something like this <?php if $loginserver = 0 && $charserver = 0 && $mapserver = 0 then $ServerOffline show Red circle else if $loginserver = 1 && $Charserver = 1 && $mapserver = 1 then $ServerOnline show green circle ?> <?php if $WOE = 0 then show Red circle else if $WOE= 1 then show green circle ?> <?php vendingplayers = amount echo amount ?> as you can tell i understand very basic PHP so I'm unable to fully understand how to achieve what i would like i hope someone is willing to help me thanks in advance Kind regards Rob
  6. Poseidon

    Flux cp - content out side of col structre

    It okay i figured it out, i ended the div for content in the header and thats not what its meant too the content has to end in the footer
  7. Poseidon

    how do i make a private ragnarok rathena server?

    Depends on a lot of thing's to be able to run a successful Ragnarok Online server, buying hosting first that includes a server install for you isn't the way to go imho, If you click on the links above you under github it will take you to the server files if you download them to your desktop, and look under threads of the forums you will find posts teaching you on how to make an offline server and client files and teach you how to script and so on.
  8. That is an SQL error, so you need to remove the duplicate mob name from your sql database most likely it will be in mob_db or mob_db2
  9. Poseidon

    enable ssl on login page and registration page

    Ye i fixed by moving the patcher folder outside of the public_html folder so the .htaccess was omitted
  10. Poseidon

    enable ssl on login page and registration page

    when i have tried using thor with https:// it gave errors out ie failed to connect to server and the url was correct
  11. Poseidon

    enable ssl on login page and registration page

    i didnt explain myself i meant to just those pages not the whole site as thor patcher doesn't like https://
  12. Poseidon

    Thor Patcher unable to connect

    its a shared hosting environment so changing of apache ports isn't an option for me i have figure out that thor patcher does not allow https via .htaccess file that is in the root of public html folder RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
  13. Hi guys, Is there away of having ssl on flux login page donation page and registration page? Thx
  14. Poseidon

    Thor Patcher unable to connect

    this is shared web hosting. Thor patcher does not like .htaccess rule RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://praetoriaro.com//$1 [R=301,L] once i removed this, It was able to connect without a problem, But my problem now is the security of my site is now limited.
  15. Poseidon

    Thor Patcher unable to connect

    Yes i have https:// protocal enable site wide with clean urls on the topic, I have changed what was suggested, i now have the notice.html but i get failed to communicate with server when ever i start the patcher