Medal System for FL CF

There are 41 replies in this Thread. The last Post () by SWAT_OP-R8R.

  • New Bond film to come out in 2012: "The Man with the Golden Spike"? A million dollars per hit indeed.


    Interesting and colorful medals Max. :D

    24/7 SWAT CF veteran from sometime before 1.6 up into 1.82. Lots of memories!
    Built 88 chars between DC, BD, UAC,
    STC, and freelancers. Ashes to ashes, alas? D:

  • Max you are too fast ;)


    I even didnt started with coding

  • Quote

    Originally posted by Huor Súrion
    Max you are too fast ;)


    I even didnt started with coding


    Then go to work faster, m8! :D

    CF chars - Maxbur and derivatives
    Roleplay on server: Merc/Smuggler
    You can hire me for all sort of job: dirty and not so - but I`ll make it clean. It will cost you :)





    "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."
    Einstein

  • Quote

    Originally posted by Maxbur
    Then go to work faster, m8! :D


    Ouch - that was full punch into my liver^^

  • I`m a friend of Klichko bros. :D

    CF chars - Maxbur and derivatives
    Roleplay on server: Merc/Smuggler
    You can hire me for all sort of job: dirty and not so - but I`ll make it clean. It will cost you :)





    "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."
    Einstein

  • i doubt that this is going to work
    and the efforts to code something into this forum is massive (assuming that all other problems of this project have already been solved)

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • I had this in mind too. Firstly i would like to have made this for my clan only... But then i though i ask around - cause if i have done it for my clan it would also work for the others as well. Cause the basics remain the same.


    As the forum integration could be really problematic it could be done by an extra page - that could be integrated into the new crossfire homepage (or somewhere else)....

  • seriously ive no idea how this can work

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • 1. of all: Max, amazing work - thanks a lot your medals rulez!


    2. Huor, there is a possibility to create an SQL Table - once a day/week or whatelse it could store the complete ranking (done by a cron job) of the players into the table. A new field could be filled via an extra page linked from the SWAT Portal or the new Server Portal by direct input from the Forum User - for security reasons there could be a request to the Players Online Modul like: You are only able to bind the Character to your Forum Account if it is Online. If bound on all Chars there could be an addition on the several fields - that way you would be able to direct the Medals automatically to the Forum account. When created the creation Job could update the whole table aswell, so nobody would have to wait until the next update would start.


    Since OP seems to like the right account information side it could be placed there or a 2. Signature field could be openend. Theoretical it´s not that hard - practical it is some weeks of coding imO.


    Click the image above to visit us.
    _______________________________________
    "Sir, we are surrounded!"
    "Excellent, now we can attack in any direction."

  • Quote

    Originally posted by Spiky-


    Is that for me? thx :D


    Why is it that all the guys i start to like really like turn out to be gay? :D

  • Quote

    Originally posted by SWAT_OP-R8R
    seriously ive no idea how this can work


    Seriously me too ;) I just have ideas and i made already some thoughts how to implement it - and finally i think it should be possible as well. what brings me to the next point:


    Quote

    Originally posted by Daywalker
    2. Huor, there is a possibility to create an SQL Table - once a day/week or whatelse it could store the complete ranking (done by a cron job) of the players into the table. A new field could be filled via an extra page linked from the SWAT Portal or the new Server Portal by direct input from the Forum User - for security reasons there could be a request to the Players Online Modul like: You are only able to bind the Character to your Forum Account if it is Online. If bound on all Chars there could be an addition on the several fields - that way you would be able to direct the Medals automatically to the Forum account. When created the creation Job could update the whole table aswell, so nobody would have to wait until the next update would start.


    I already had in mind to create a SQL database table to work with the stats itself from the database. So an update can be made once or twice a day. That lowers server load and loading times for the medals as well. The update indeed can be triggered by a cron job.


    As for the user and medals part i think it this can be done somehow, a list of each users character can be made within another database table. Dunno about this yet. I can make some thought if i need to implement it^^ But finally there should be a solution as well.


    Quote

    Originally posted by Daywalker
    ...Theoretical it´s not that hard - practical it is some weeks of coding imO.


    I 2nd that^^


    OTSTART
    @Lucy - why is pink a sign of beeing gay? And i thought being gay is just a feeling and not a state of living^^
    OTEND

  • OTCONT

    Quote

    pink pink pink pink


    What? Don't you like
    ?


    <hr />
    OTEND4REAL

    <table border="0" align="center" width="75%" height="40px" cellspacing="0"><tr>
    <td align="left" background="http://img217.imageshack.us/img217/9442/swatwj7.png" width="2px"></td>
    <td valign="top" align="center" width="100%" background="http://img182.imageshack.us/img182/401/swatya1.gif"><font face="serif" color="white" size="5">&#191;&#647;&#592;&#653;&#387;&#592;&#623; - magwat?</font></td>
    <td align="right" background="http://img27.imageshack.us/img27/6025/swatright.png" width="2px"></td>
    </tr></table>
    <!--<hr width="85%" />

    Fix'd.

    -->

  • maybe it would be the right time to inform you that the forum is designed to access just one single sql database atm
    if you want to use a different one you would need to recode a big part of the forums core code
    even then the question remains how you want to link the fl server account with the forum account since names can be different... the fl server has 5 names while the forum has just one... players have x accounts with different account ids


    assuming that the sql database is the same as the forum already uses (which wouldnt require to rewrite big parts of the forum) the output of the tables would be the smallest problem
    while I would have serious problems to see the database getting updated from somewhere outside SWAT (coz that would be a serious security problem)

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!


  • MEANING = too much hassle for something that's not really important :P

    <table border="0" align="center" width="75%" height="40px" cellspacing="0"><tr>
    <td align="left" background="http://img217.imageshack.us/img217/9442/swatwj7.png" width="2px"></td>
    <td valign="top" align="center" width="100%" background="http://img182.imageshack.us/img182/401/swatya1.gif"><font face="serif" color="white" size="5">&#191;&#647;&#592;&#653;&#387;&#592;&#623; - magwat?</font></td>
    <td align="right" background="http://img27.imageshack.us/img27/6025/swatright.png" width="2px"></td>
    </tr></table>
    <!--<hr width="85%" />

    Fix'd.

    -->

  • Quote

    Originally posted by SWAT_OP-R8R
    maybe it would be the right time to inform you that the forum is designed to access just one single sql database atm


    Well that is the case for most of the forums/cms outside. As for most there are just one configuration available. It not to use another database. It would be different tables within this database. Even both should be no problem at all. As you are the admin and can add a new database, easiest part - add tables to the current database.


    Quote

    Originally posted by SWAT_OP-R8R
    if you want to use a different one you would need to recode a big part of the forums core code


    Thats not mandatory - but obviously helpful. If not using the database of the forum we could make a new one (see upper reply) and finally there could be an extra configuration for the medal "mod". And i don't have any code of the forum yet and therefore i told that this would be the bigger problem^^


    Quote

    Originally posted by SWAT_OP-R8R
    even then the question remains how you want to link the fl server account with the forum account since names can be different... the fl server has 5 names while the forum has just one... players have x accounts with different account ids


    I am pretty aware of the multiple accounts of the different users. Hence i think we need a table whose in game characters belongs to whose forum names. There is no need to have the fl server ids or anything else. I just parse the flstat output.


    Quote

    Originally posted by SWAT_OP-R8R
    assuming that the sql database is the same as the forum already uses (which wouldn't require to rewrite big parts of the forum) the output of the tables would be the smallest problem


    correct. If we cant use the forum itself (cause integration is not possible) we still could use an extra page with extra access to an extra database... where is the problem with this?


    Quote

    Originally posted by SWAT_OP-R8R
    while I would have serious problems to see the database getting updated from somewhere outside SWAT (coz that would be a serious security problem)


    Indeed, once the service is running here - its updates from inside swat - and scripts for updating can be done also from outside. But since you are an admin of an own server you could create own cron jobs - in windows called scheduler ;)
    I don't really see any problem with that - although i have not done anything of this yet - but you think its totally impossible?


    magnet:
    Indeed its some effort - if its not wanted here then i make it for my own (clan). Finally i think at the moment there is too much discussion on how things not work. Why not to discuss how it can be made runnable...

  • Quote

    Originally posted by Spiky-
    meep

    <table border="0" align="center" width="75%" height="40px" cellspacing="0"><tr>
    <td align="left" background="http://img217.imageshack.us/img217/9442/swatwj7.png" width="2px"></td>
    <td valign="top" align="center" width="100%" background="http://img182.imageshack.us/img182/401/swatya1.gif"><font face="serif" color="white" size="5">&#191;&#647;&#592;&#653;&#387;&#592;&#623; - magwat?</font></td>
    <td align="right" background="http://img27.imageshack.us/img27/6025/swatright.png" width="2px"></td>
    </tr></table>
    <!--<hr width="85%" />

    Fix'd.

    -->

  • Quote

    Originally posted by SWAT_OP-R8R


    Forum=php=on your Server (update in the postbit pattern)
    Database=SQL=on your Server (just a Table add within your Database not a Database add can be done by the script which is running where you want to have it)


    1) it can be done
    2) you would have the complete control (nothing have to run outside)


    You just have to say if you would like it or not.


    Huor
    I will help if i can


    The parse of the Stats is problematical because of the processing time, tried it.


    Click the image above to visit us.
    _______________________________________
    "Sir, we are surrounded!"
    "Excellent, now we can attack in any direction."

  • if it can be done fine - do it
    but i still have my doubts due to all the limitations that i know (and i believe that i know this place best)

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • Quote

    Originally posted by SWAT_OP-R8R
    (and i believe that i know this place best)


    no doubt ;)


    btw, now me...


    *Taking a deep breath*


    If Huor would start working on it, maybe we could involve Haegar - so (just a maybe dont throw stones at me please :( ) we could get a function to exchange Money from the Characters while offline when bound to the Forums Account - it´s somehow possible cause i saw it on another server once - i will ask their Forums Admin if Haegar don´t know how to do and/or if it would be able to include it too - since we would have all the Data we need except the way back to the Game Server (would just be a cool additional Feature).


    Could you please send me the postbit code from this Board via pm (the one from your Template please) so i can check what to do (The actual Burning Board is Vs. 3 SWAT is running 1.2 getting Infos below Vs. 2 is somehow not easy )?


    Click the image above to visit us.
    _______________________________________
    "Sir, we are surrounded!"
    "Excellent, now we can attack in any direction."