Jump to content

farmmedal

Inactive Member
  • Posts

    33
  • Joined

  • Last visited

  • Feedback

    0%

About farmmedal

Informations

  • Gender
    Male
  • Country
    Hungary
  • Nationality
    Hungarian

Recent Profile Visitors

1157 profile views

farmmedal's Achievements

Enthusiast

Enthusiast (6/16)

  • Very Important Person Rare
  • Collaborator Rare
  • Dedicated
  • First Post
  • Conversation Starter

Recent Badges

1

Reputation

  1. Did it, but for some reason it is still visible. Maybe something on the server side too?
  2. Hey everyone! I'm making a homepage with a register option. Apache24 installed - running php84, php84-extensions installed - running php_fpm - running listen = 127.0.0.1:9000 - okay <FilesMatch \.php$> SetHandler "proxy:fcgi://127.0.0.1:9000" </FilesMatch> mod_proxy and mod_proxy_fcgi - enabled No errors anywhere. index.html works flawlessly, yet when I press "register" it takes me to "register.php" and gives me a raw text. I spent my whole day working on this, trying to find a solution, yet nothing seems to work. I would be really thankful if anyone would help me. Thanks in advance!
  3. Thanks for the reply! Seems a bit complicated Would be nice if you try and share it in the future! Thanks ^^
  4. On one hand: works really great, and is a great idea! On the other hand: it messes it up well. Messes up the quick access bar, the character "forgets" the skills - it resets everything every teleport / char. change. The syserr-s are clean, so I really have no idea what happens Edit: I just saw @ Gurgarath's answer. Anyone would care help me a little with this rewriting thing? ^^ static char text[8192 + 1]; is already there, tried my best but thats all
  5. Thank you for your answer! Tried it, it compiles well but not working. if (exp + amount >= next_exp) { iExpBalance = (exp + amount) - next_exp; amount = next_exp - exp; SetExp(0); exp = next_exp; quest::CQuestManager::instance().LevelUp(GetPlayerID()); } else I feel like it's close, but not quite there.
  6. The problem is: - I barely understand anything of the code, because its c++ and I do not know any of that language. - I could not find "quest::CQuestManager::instance().LevelUp(GetPlayerID());" in the original files either. - so I have nothing to compare to. Simply I can not figure it out myself, thats why I'm asking for help here. I'm not a programmer, but I do try my best. I know it's not a small thing to ask, but for me it seems impossible to achieve, while it looks like its around 2 minutes for you guys. I did not mean any offense of course, I would just most value if any of you could help me with this matter. Thanks!
  7. I made a video because I feel that it's still not understandable what I would like to achieve. [Hidden Content] Edit: While I made the video, you expanded your answer. Could you please explain what do you mean under source especially? I had an answer from @ WeedHex two years ago: I think its because of C++. Using the questlua_pc.cpp function GiveExp() you won't trigger this: quest::CQuestManager::instance().LevelUp(GetPlayerID()); So when login or levelup Only login will works. Edited August 29, 2022 by WeedHex Yet it's still unsolved. Could not figure it out. The "levelup" part is already "solved" by putting set_quest_state("levelup","run") to the end of a each and every quest, so it works but let's be honest, only counts as a "half-solution".
  8. Thanks for the answer! state ending begin -- the ending of a random quest when 9003.chat."You are about to level up?" begin say("Here is your reward.") wait() pc.give_exp2(150) set_state(__complete__) end end --Lets say I'm level 1 with pc.get_exp() == 150. This means, with this exp reward, I will reach level 2. quest lv2quest begin -- This is the beginning of an another quest. state newquest begin state start begin when login or levelup with pc.get_level() >= 2 then set_state(newquestbegin) end end end --I receive my reward, reach level 2 by the quest reward (pc.give_exp2, at the end of the first quest), but "levelup" won't trigger, --will not load up the new quest. When doing a relog, the "login" part triggers of course, but this does not seem very professional. --It works simply with every other way -> If I level up via gm command or by killing monsters, everything works simply., all the quests load up as they --should --I tried and used set_quest_state, but there are a lot of possibilities, again, not a clean work. It works - but it's not realistic to use it. I hope this way it becomes more understandable. The pc.give_exp2, that results in a level up will not trigger the "levelup" on other quests.
  9. Hey everyone! Pretty self-explanatory: if I level up by a quest exp reward, the new quests won't pop up. I have a solution, but it only solves the problem partly: using set_quest_state("xx","xy"). It works, but my problem is -> Its not realistic to implement this with every variant possible to every quest. (It can be done, just not so efficent) Also, it messes with the levelup quest (hunting quest each level). (It leaves the "buttonstate" qf on -1, meaning no relog or nothing can help it. (I mean yea, I can manually do it but again - not realistic.")) I just want to solve this problem once and for all. Anyone can help me with this? Thanks in advance!
  10. Hello there! Thanks for the response. I could not find the problem for 2 hours, then asked for help here. 5 minutes passed and I found 1 line of code that was not deleted from a list (source). Deleted it, workes flawlessly now. Again, thank you!
  11. Hey everyone! Tried to add a new bonus --> Did not work so i deleted the features --> this happened: I deleted all added features, everything looks original. In every list, the order is the same and original. What could be the problem? Thanks in advance! (I checked everything 4 times already and everything seems to be in order.)
  12. Had to make some work on it, but it does its job now. Thanks! (Instead of "TIME_TO_WAIT" I used "time_remaining_until". Work like a charm.)
  13. Hey everyone! when "test".timer begin notice("timer reset!") end It works perfectly, but only if I'm online. If I'm offline, it does not process. What I want to achieve: A daily quest, repeatable every midnight. I set my timer to the exact seconds left until given day's midnight, but the timer won't do anything if I'm offline. Any idea how I might solve this?
  14. Thank you both for your work! Here is my solution: I added @ Syreldar's functions, used them with a simple timer. quest timetester begin state start begin when login begin set_state(timetester) end end state timetester begin when letter begin send_letter("Timetester") end when button or info begin local t = time_remaining_until("23:00") --simplifying it for myself say_title("Timetester") say(""..t.."") --showing if it tells the right time wait() timer("dailytimer", t) end when "dailytimer".timer begin notice("timer reset!") end end end Works like a charm, using this function makes this really easy. Thank you for all your efforts!
  15. Wow! That is one detailed description! Thank you very much for both of your efforts. I will try my best and make it work ^^ I may write again if I lose hope
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.