Jump to content

Cookie

Members
  • Posts

    213
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Cookie

  1. gm im mad this totally is a violation of my rights to sell mi work!

     

    Good job Maki. At least people won't be able to suck off rA without contributing back the project in some shape or form.

     

    More power, god bless.

     

    Xoxo,

    -Cookie

    • Upvote 1
  2. PayPal changed their payment gateway request requirements. Therefore, in /lib/Flux/PaymentNotifyRequest.php::verify, you need to figure out the changes PayPal made and alter the request body here:

    		$qString  = 'cmd=_notify-validate&'.$this->ipnVarsToQueryString();
    		$request  = "POST /cgi-bin/webscr HTTP/1.1\r\n";
    		$request .= "Content-Type: application/x-www-form-urlencoded\r\n";
    		$request .= 'Content-Length: '.strlen($qString)."\r\n";
    		$request .= 'Host: '.$this->ppServer."\r\n";
    		$request .= "Connection: close\r\n\r\n";
    		$request .= $qString;
    
    I'd do it for you, but truthfully, I forgot exactly what they changed now. Personally, I would've made this call a cURL. Then again, I would've written FluxCP completely different anyway and not tried to re-create the MVC cogwheel as the original programmers did.
  3. $diff_time = strtotime($ip_check[0]->unblock_time)-strtotime(date("Y-m-d G:i:s",time()));
    
    ^ For this error, I'd need to see the rest of the code. $ip_check isn't an array hydrated with objects. I'd assume $ip_check is a result from a poorly formatted SQL call as Flux CP defaults PDO to hydrate results as objects.

     

    -----

     

    HTTP_X_FORWARDED_FOR related error - Indicates the index isn't defined in $_SERVER variable.

     

    Change whatever line that is referencing HTTP_X_FORWARDED_FOR to something along the lines of:

    $xforward= @($_SERVER['HTTP_X_FORWARDED_FOR'] ?: null);
    
    Which will basically default to null if it isn't defined.

    They may be using this to prevent proxy servers. But, that is actually incredibly unreliable. HTTP_X_FORWARDED_FOR is great for using load balancers and needing to pull the IP of the actual user.

     

    -----

    $description = $tnl->firstChild->textContent;

     

    ^ Again, read the first response to the first error. It looks like the same situation except that doesn't appear to be the result of a SQL query. If you could post the entire script, that would be helpful.

     

    -----

     

    For the last error, that is indicating a line in Flux_Template::render method. That means I'd check the template you're rendering based on the module you're trying to access. I'd assume it's related to JayPee's Vote4Points. Make sure you installed it correctly. I'll look at the script if I have time later.

  4. PLEASE change the name of the unique id -.-

    "nsiuid" is NOT very understandable to humans. Code should be written for anyone to understand just be reading it. Please code for humans not machines. I suggest changing it to "unique_id".

    Both Xantara and Sirius_White had this base code written in an understandable way. MarkZD changed it from something understandable to something completely against basic standards of programming.

    <+Kisuka> you're working on an open source project. code for people to understand without having to dig for info

    <+Kisuka> if i hadn't updated my svn for 5 months i would have no idea wtf that column would be for in mysql until i dug thru the conf or history

    <%MarkZD> a non dev doesn't need to know why a field is, only devs and database managers

    <%MarkZD> ;D

    <%MarkZD> any enterprise follow this rule

    <+Kisuka> fuck u dude. I'm a developer and I didnt even know wtf it was until I went looking for ur info. What seperates a good programmer from a bad one is if your code is understandable to everyone just by fucking reading it. its basic common programming guidelines.

    <%MarkZD> uhh, how bad u r

    <+Kisuka> and im sorry but THIS ISNT AN ENTERPRISE CLOSED SRC PROJECT. Its open source. EVERYONE needs to able to understand it

    <%MarkZD> ;D

    <+Kisuka> not just the devs of rA

    <%MarkZD> apply for dev and u can change or make a topic on rA suggestions

    <%MarkZD> so we can check it

    <%MarkZD> if it's in interest of all

    Some core dev you guys have there -.- I'm disappointed. This guy has no idea wtf he's doing. Even if I was a new developer coming into rAthena, I would have to dig for information to understand what the fuck "nsiuid" means. Come on, who the fuck is this kid? How does he not know basic programming etiquette & standards? Even more so, why is he on the Core Dev Team if he doesn't know these standards for any open source project?

    Agreed. I was shocked to see those naming standards used. In fact, I also mentioned that it is signed versus unsigned on those integral data types. Hm... negative IDs... and not to mention the query execution time on the larger scale tables such as pick logs.

  5. I partially agree with GreenBox--however, if it is open-source it'll be easier for any bypassing to be made aware by the community and thus fixed. However, it's two-fold as it can get complicated to full-proof a hack-shield when the ENTIRE source is available for public eyes.

    While I love the enthusiasm for this, I would also like to add that with all of the instability within the main project itself I think having this side-project would just add to the TO-DO list and thus complicate the goals/vision for the overall project. I'm not opposed to it but that's my thoughts. Don't throw a plethora of hate my way. :(

    eikasia... I hate the name. Change it to Cookie.

  6. I couldn't think of anyone more fitting for this position. Here's to Arcenciel leading rAthena as a Community Administrator! Congratulations, you've definitely earned it, and I admire all of your contributions to the project.

    Thank you Jman for all of the work you contributed to rAthena. :)

    • Upvote 1
  7. We discussed tabs vs spaces over IRC and as far I remember we choosed spaces.

    I don't remember us specifically stating this, to be honest. We might want to pull IRC logs--although, it's not necessary, imo. Next time, I'll post a quote-box with our IRC chat though.

    Refresh my mind as to the reasons why spaces over tabs.

    In all honesty, we'll need to make a decision on this and quickly.

    As I said, every time, I'm indifferent to this thread. I don't have a specific preference, to be honest. I do have to agree with Brian's post for logical reasons.

    Edit:

    I've opened a PM with @GreenBox. We will update this thread.

  8. Merged my topic into Malu's

    As per our IRC discussion, I'm setting up this thread for a starting point in terms of discussion for RENEWAL ATK.

    • As pointed out by lighta, atk would have to be split into watk (Weapon ATK), eatk (Equipment ATK), and satk (Status ATK). This is required to calculate the damage calculations in renewal [stak+eatk*bonus_eatk+watk*bonus_watk+matk right now it's statk+(wtak+eatk)*bonus+matk]
    • This would be a massive addition/change to battle.c. Lighta recommended a seperate branch/test server.
    • This fix would also ideally remedy the issues with RENEWAL EDP. As of Renewal, EDP no longer calculates final damage by 400%. Per Flaid, "EDP level 5 will multiply your weapon atk by 5 times, and your equipment atk by 4 times."

    That list is a very broad summary of everything we discussed. I ask that everyone keeps this thread on the subject up for discussion.

    Discuss away! :)

    • Upvote 1
  9. I'll take a look at it, and post when I've gotten a chance to--as I'm about to leave. I've noted this thread though, Euphy.

    If any other Core Developers have a better idea than the idea Euphy proposed above, please feel free to add on! :)

    Thanks,

    -Cookie

  10. I agree with this suggestion. I love the idea, and it is very helpful (speaking as a server owner) to track.

    We'll have to add it to the TO-DO list.

    Marked as 'Started'. Assigned to Xantara. :) She is going to take care of this per our PM.

    Thank you!

    -Cookie

  11. it basically reduced the amount of status the server checks whenever any unit (player/mob/etc) attempts to move a single cell (-- you move 10 cells, it is run 10 times.)

    I understand the intention behind the change (as Ind pointed out above). It is important to note, there was a few kinks we had to fix as well as odd unintended problems that have arisen from the change. As it stands now, I'd say we leave it as is, and potentially improve upon the current set-up. Originally, I found some problems that I had fixed with Ind in previous commits.

    I'm going to Dev Only this topic, and if there isn't much developer attention on the issue I will reject it.

  12. This is already in the process of being worked out. We will still provide support to SVN, as well. Give us some time to transition as we're restructuring the development teams, and its entities.

    Thanks,

    -Cookie

  13. As it is used by the mapcache (per Greenbox), I'm going to reject, and we'll keep it.

    More info:

    <GreenBox> minicore disables some uneed features like mysql db, threads, sockets etc etc etc

    <GreenBox> mapcaches uses it to load just the basic components

×
×
  • Create New...