none Posted February 7, 2014 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 84 Reputation: 1 Joined: 11/14/11 Last Seen: January 19, 2016 Share Posted February 7, 2014 (edited) Hello keyworld, >Sorry my english is too bad, and i know that you're french. J'ai un petit souci avec le script, je n'ai rien qui s'affiche.Alors je me pose des questions: y a t il des droits particuliers sur certains fichiers/dossiers ?J'ai mis client et data en 777 et tout les php en 755. As tu une idée ? Merci EDIT: i've found this in error log: PHP Warning: parse_ini_file() has been disabled for security reasons in /.../core/class.Client.php on line 41PHP Warning: Invalid argument supplied for foreach() in /.../core/class.Client.php on line 44 EDIT 2: if you have this problem, just delete parse_ini_file from php.ini ! EDIT 3: quels sont les droits nécessaires sur quels tables pour l’accès mysql ? Si je lui donne que l’accès 'select' a la base 'char', ca ne fonctionne pas :/ Edited February 7, 2014 by none Link to comment Share on other sites More sharing options...
Netsrot Posted February 17, 2014 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 77 Reputation: 5 Joined: 12/05/12 Last Seen: May 28, 2016 Share Posted February 17, 2014 Hello ^^ Very nice tool, indeed ! Love it and would love to use it for my server / FluxCP, BUT it seems the scripts are not reading my *.lua files and are using internal *.php files to find the ViewID. Example: accessoryid.lua and accname.lus are replaced by hats.php. This causes bugs like this one for ViewID 1019. In hats.php it is "Cyan_Bandaid", but in my lua's it is "bluevalk_cd". Trying to find file "data/sprite/악세사리/여/여_Cyan_Bandaid.spr"... File not found in data folder. Searching in GRFs... Loading GRF file "rochargen.grf"... Search in GRF "rochargen.grf", fail. Loading GRF file "rdata.grf"... Search in GRF "rdata.grf", fail. Loading GRF file "snow_0x200.grf"... Search in GRF "snow_0x200.grf", fail. Loading GRF file "paletten_0x200.grf"... Search in GRF "paletten_0x200.grf", fail. File not found... A file "Cyan_Bandaid" .act or .spr does not exist in my GRFs. My question is now how to tell that script to read *.lua files or how to convert them into hats.php ? Best Regards Nets ^^ Fixed that problem on my own. Manualy !!! But still a proper working lua reader would be fine. ^^ Link to comment Share on other sites More sharing options...
Hirasu Posted February 28, 2014 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 61 Reputation: 6 Joined: 12/23/11 Last Seen: November 17, 2021 Share Posted February 28, 2014 (edited) @KeyWorld Hello sir i know this is the wrong topic for my request but i want to ask if u can make a new version of : http://www.eathena.ws/board/index.php?showtopic=240082 for rAthena, would be nice Btw: How to add custom items to your ROchargenPHP script ? Edited February 28, 2014 by Hirasu Link to comment Share on other sites More sharing options...
KeyWorld Posted February 28, 2014 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 379 Reputation: 304 Joined: 11/10/11 Last Seen: December 2, 2014 Author Share Posted February 28, 2014 @Hirasu I don't think I will do other npc scripts for the community : I am already busy with my projects and to be honest I don't have any fun to write athena scripts now, too limited and not elegant at all About ROChargenPHP you can add custom files in db folder, if it's about hats, take a look at db/hats.php. There is a route + controller you can set on in index.php to update files from your lua files but since it parse lua content wth regex it can generate some errors. 1 Link to comment Share on other sites More sharing options...
Hirasu Posted February 28, 2014 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 61 Reputation: 6 Joined: 12/23/11 Last Seen: November 17, 2021 Share Posted February 28, 2014 (edited) @KeyWorld Thanks for the information EDIT: $routes['/update/(hats|mobs|robes)'] = 'Update'; // Uncomment this line if you want to perform updates by updating lua files. i uncomment this and run the update.php but nothing happens what i do wrong? Can i add custom items manuell? Edited February 28, 2014 by Hirasu Link to comment Share on other sites More sharing options...
KeyWorld Posted February 28, 2014 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 379 Reputation: 304 Joined: 11/10/11 Last Seen: December 2, 2014 Author Share Posted February 28, 2014 @KeyWorld $routes['/update/(hats|mobs|robes)'] = 'Update'; // Uncomment this line if you want to perform updates by updating lua files. i uncomment this and run the update.php but nothing happens You have to run : /update/hats or /update/mobs or /update/robes And of course you can add items manually Link to comment Share on other sites More sharing options...
Cyrix Posted February 28, 2014 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 150 Reputation: 13 Joined: 02/16/12 Last Seen: April 10, 2023 Share Posted February 28, 2014 (edited) Solved. Edited March 1, 2014 by Cyrix Link to comment Share on other sites More sharing options...
Hirasu Posted March 1, 2014 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 61 Reputation: 6 Joined: 12/23/11 Last Seen: November 17, 2021 Share Posted March 1, 2014 (edited) @KeyWorld $routes['/update/(hats|mobs|robes)'] = 'Update'; // Uncomment this line if you want to perform updates by updating lua files. i uncomment this and run the update.php but nothing happens You have to run : /update/hats or /update/mobs or /update/robes And of course you can add items manually Thanks EDIT: The hats.php list is updated but in the /avatar/CHARNAME i dont see my custom headgear , my custom grf is in the data.ini , what can i do? ( Sorry for my bad english ) Cache delay = 0 EDIT2: FIXED my mistake was : 1082 => 'ElemEarth', and the sprite name is elemearth.spr ( 1082 => 'elemearth', works ) EDIT3: btw the Fallen Angel Wing Robe does not appear. and i have a request : how to add the ROChargenPHP to the FluxCP like this : And how can i display the items icons as in the picture above. Hope* someone can help me, Thanks Edited March 1, 2014 by Hirasu Link to comment Share on other sites More sharing options...
Netsrot Posted March 2, 2014 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 77 Reputation: 5 Joined: 12/05/12 Last Seen: May 28, 2016 Share Posted March 2, 2014 (edited) @Hirasu: I solved that by using DIV-BOXES and TABLES in HTML, CSS and a bit PHP. Will upload my test-files to pastebin in some minutes ^^ Regards Nets ^^ Here the links to pastebin: Part 1: index.php http://rathena.org/board/pastebin/z1gwqy2l583z/ Part 2: functions.php http://rathena.org/board/pastebin/zvz8k9n82v7/ Part 3: array_prefix.php http://rathena.org/board/pastebin/drmzl3oetc25/ Part 4: array_links.php http://rathena.org/board/pastebin/19odvbv9ocvns/ Part 5: array_jobnames.php http://rathena.org/board/pastebin/tq0fghh1lgmi/ Part 6: test.css http://rathena.org/board/pastebin/1isljtsv6ir40/ You have to set up KeyWorld's script to useage of char_id. See here !!! NOTE: Some jobnames (#20 - #28) are not verifyed, maybe they will not work properly. Regards Netsrot ^^ @KeyWorld: I tried to create a controller "character_id.php" to be able to use charnames AND charids, but i have problems with index.php. I inserted: $routes['/character_id/(\d+)'] = 'Character_ID'; The debugmode tell me that the route can not be found. Do i have to add some more information somewhere ? Regards Nets ^^ Edited March 2, 2014 by Netsrot Link to comment Share on other sites More sharing options...
Hirasu Posted March 2, 2014 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 61 Reputation: 6 Joined: 12/23/11 Last Seen: November 17, 2021 Share Posted March 2, 2014 (edited) @Hirasu: I solved that by using DIV-BOXES and TABLES in HTML, CSS and a bit PHP. Will upload my test-files to pastebin in some minutes ^^ Regards Nets ^^ Here the links to pastebin: Part 1: index.php http://rathena.org/board/pastebin/z1gwqy2l583z/ Part 2: functions.php http://rathena.org/board/pastebin/zvz8k9n82v7/ Part 3: array_prefix.php http://rathena.org/board/pastebin/drmzl3oetc25/ Part 4: array_links.php http://rathena.org/board/pastebin/19odvbv9ocvns/ Part 5: array_jobnames.php http://rathena.org/board/pastebin/tq0fghh1lgmi/ Part 6: test.css http://rathena.org/board/pastebin/1isljtsv6ir40/ You have to set up KeyWorld's script to useage of char_id. See here !!! NOTE: Some jobnames (#20 - #28) are not verifyed, maybe they will not work properly. Regards Netsrot ^^ @KeyWorld: I tried to create a controller "character_id.php" to be able to use charnames AND charids, but i have problems with index.php. I inserted: $routes['/character_id/(\d+)'] = 'Character_ID'; The debugmode tell me that the route can not be found. Do i have to add some more information somewhere ? Regards Nets ^^ Danke wie ich sehe bist du deutscher Könnte ich dich noch fragen wie ich das mit z.b signature.php verbinden kann? EDIT: Sorry habs gefunden : <table class="charview" style="width:280px; height:150px; background: url(http://localhost/rochargen/index.php/character/<?php echo htmlspecialchars($row['char_id']); ?>) no-repeat center -63px;"> Danke es geht Edit2: @Netsrot $result = mysql_query("SELECT * FROM `char` WHERE `account_id` = '2000000' ORDER BY `char_id` ASC"); wie kann ich es machen das es so funktioniert? : www.127.0.0.1/Netsrot/ACCOUNT_ID Edited March 3, 2014 by Hirasu Link to comment Share on other sites More sharing options...
KeyWorld Posted March 3, 2014 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 379 Reputation: 304 Joined: 11/10/11 Last Seen: December 2, 2014 Author Share Posted March 3, 2014 I tried to create a controller "character_id.php" to be able to use charnames AND charids, but i have problems with index.php. I inserted:$routes['/character_id/(\d+)'] = 'Character_ID';The debugmode tell me that the route can not be found. Do i have to add some more information somewhere ? Regards Nets ^^ What did you do ? 1) Add the route in index.php (ok). 2) Duplicate controllers/character.php and rename it to character_id.php 3) Replace the class name (should be Character_ID_Controller). 4) Replace the query (WHERE char.char_id = ?) And that's all. Link to comment Share on other sites More sharing options...
Cyrix Posted March 3, 2014 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 150 Reputation: 13 Joined: 02/16/12 Last Seen: April 10, 2023 Share Posted March 3, 2014 (edited) *-* Char Select Char View (Alt+q) Edited March 3, 2014 by Cyrix Link to comment Share on other sites More sharing options...
Netsrot Posted March 6, 2014 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 77 Reputation: 5 Joined: 12/05/12 Last Seen: May 28, 2016 Share Posted March 6, 2014 I tried to create a controller "character_id.php" to be able to use charnames AND charids, but i have problems with index.php. I inserted:$routes['/character_id/(\d+)'] = 'Character_ID';The debugmode tell me that the route can not be found. Do i have to add some more information somewhere ? Regards Nets ^^ What did you do ? 1) Add the route in index.php (ok). 2) Duplicate controllers/character.php and rename it to character_id.php 3) Replace the class name (should be Character_ID_Controller). 4) Replace the query (WHERE char.char_id = ?) And that's all. I missed step 3 ^^ Now its working This script is awesome, really /no1 Best Regards Nets ^^ Link to comment Share on other sites More sharing options...
Zell Posted April 24, 2014 Group: Members Topic Count: 53 Topics Per Day: 0.01 Content Count: 412 Reputation: 266 Joined: 04/25/12 Last Seen: Yesterday at 05:13 PM Share Posted April 24, 2014 (edited) Oh, I have a quest, how make the directory folder read the grf from home/ An thanks, very cool ! Edited April 24, 2014 by Zell Link to comment Share on other sites More sharing options...
Lady Raga Posted August 21, 2017 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 13 Reputation: 2 Joined: 04/28/13 Last Seen: January 11, 2023 Share Posted August 21, 2017 Heya all !!!! Does someone still have the RochargenPHP files ? I really want to try this incredible tool, but cant get them from the Git Thx !! Link to comment Share on other sites More sharing options...
CyberDevil Posted May 24, 2018 Group: Members Topic Count: 40 Topics Per Day: 0.02 Content Count: 242 Reputation: 37 Joined: 02/25/18 Last Seen: December 2, 2024 Share Posted May 24, 2018 Does anyone know how to implement the summoner/doram to display it with ROChargenPHP? Link to comment Share on other sites More sharing options...
RicardoMarin Posted June 11, 2018 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 06/02/18 Last Seen: August 12, 2019 Share Posted June 11, 2018 Does anyone know how to avoid cutting the larger images in the mobs? the default size is always 200x200px, how is it automated? Link to comment Share on other sites More sharing options...
Aries Posted June 13, 2018 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 70 Reputation: 18 Joined: 01/28/12 Last Seen: May 10, 2021 Share Posted June 13, 2018 On 6/12/2018 at 6:00 AM, RicardoMarin said: Does anyone know how to avoid cutting the larger images in the mobs? the default size is always 200x200px, how is it automated? https://github.com/ScDarko/ROChargenPHP 1 Link to comment Share on other sites More sharing options...
RicardoMarin Posted June 19, 2018 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 06/02/18 Last Seen: August 12, 2019 Share Posted June 19, 2018 how add the news sprites, Soul Reaper and Star Emperor? Link to comment Share on other sites More sharing options...
Thanna20 Posted April 6, 2019 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 137 Reputation: 11 Joined: 11/26/16 Last Seen: Yesterday at 11:55 AM Share Posted April 6, 2019 Good Day Everyone, Before I did yuse the ROchargen but now I cant seem to make it work. All I got is blank pag even when the debug mode is open and when I open the inspect tab on chrome I cant see any error. I hope you can help me out. Thank you. Link to comment Share on other sites More sharing options...
trickzjen23 Posted November 15, 2019 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 53 Reputation: 0 Joined: 11/25/11 Last Seen: June 19, 2024 Share Posted November 15, 2019 Anyone know why I could not make it to render the image? I'm getting this message "not able to render..." even though there's no errors. Link to comment Share on other sites More sharing options...
Snaehild Posted June 15, 2021 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 72 Reputation: 7 Joined: 06/23/14 Last Seen: November 13, 2022 Share Posted June 15, 2021 Any idea about this error? SPR::open() - Incorrect file size, shoulnot be a SPR file Link to comment Share on other sites More sharing options...
ChokituBR Posted August 1, 2021 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 43 Reputation: 1 Joined: 11/16/14 Last Seen: February 19 Share Posted August 1, 2021 Does anyone have the files for this, it's saying it was taken down due to DMCA Link to comment Share on other sites More sharing options...
Recommended Posts