CyberDevil

Members
  • Content Count

    203
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

29 Excellent

About CyberDevil

  • Rank
    Marin
  • Birthday 10/03/1975

Profile Information

  • Gender
    Male
  • Location
    Rome
  • Server
    INFINITY 2.0
  • Github
    CyberDevil75
  • Interests
    Harley-Davidson and Beer!

Contact Methods

Recent Profile Visitors

747 profile views
  1. thank you a lot @SBK_ it's work! +1
  2. I have the same problem after server restart, precisely after the restart the items that can be purchased by merchants in autotrades with different zeny currencies, can also be purchased with zeny and no longer with the currency also shown in the merchant's autotrade trade window. But despite several attempts and tests I was unable to solve the problem... my code is also different and shows these lines in the file /src/map/vending.cpp // initialize player CREATE(at->sd, struct map_session_data, 1); pc_setnewpc(at->sd, at->account_id, at->char_id, 0, gettick(), at->sex, 0); at->sd->state.autotrade = 1|2; if (battle_config.autotrade_monsterignore) at->sd->state.block_action |= PCBLOCK_IMMUNE; else at->sd->state.block_action &= ~PCBLOCK_IMMUNE; chrif_authreq(at->sd, true); uidb_put(vending_autotrader_db, at->char_id, at); } Sql_FreeResult(mmysql_handle); Anyone can help me to fix it? vending.cpp
  3. I have write the correct lines in my preview post and in attach there is the file with this modifications Illusion Moonlight.c
  4. great thing ... yesterday on your topic of "Illusion of Vampire" I was almost tempted to ask you if you could publish this npc enchanter... you read my mind! You are great... thanks for your work and for your time!
  5. You can set the exp value you need... search LINE 544 completequest 7788; Add after: getitem 25271,5; //= Illusion Stone getexp 500000,500000; ----------------------------------------------------------------------------- For the daily quests search LINE 892-893 setquest 7785; getitem 25271,1; //= Illusion Stone and replace with: setquest 7785; getitem 25271,2; //= Illusion Stone getexp 300000,300000; and search LINE 904-905 setquest 7787; getitem 25271,1; //= Illusion Stone and replace with: setquest 7787; getitem 25271,2; //= Illusion Stone getexp 300000,300000;
  6. Correct weight for item 18968... converting it with "rACCOONv" and importing it into mySQL the error appears that the weight cannot be NULL: HERE the result!
  7. perfect, now it work! tnx a lot...
  8. Custom logo do not work! in attachment there is my logo...
  9. Tnx @Naruto... this is my last version live in my server with all check that you say and a double menu... 1 for male without Wanderer and Oboro and 1 for female without Ministrel and Kagerou: prontera,153,176,4 script JobMaster Fato Turchino 617,{ if (#Fato_Turchino == 1) { mes "[ Fato Turchino ]"; mes "Ehi Tesoruccio, non provarci... già ti ho fatto il \"servizietto\" che cerchi!"; mes "Ricorda, posso fare questa magia ^FF0000solo una volta^000000!"; end; } mes "[ Fato Turchino ]"; mes "Ciao Tesoruccio, sono Fato Turchino... quello magico dei fratelli \"Fato\"!"; mes "Se sei da me vuol dire che hai uno <ITEM>Special Exchange Coupons<INFO>7690</INFO></ITEM> e per questo potrò farti dono di una Classe Transcendent a tua scelta e farti livellare fino al livello 99 senza perdere tempo ad expare!"; mes "Ma ^FF0000solo una volta^000000 potrò fare questa magia per te!"; emotion ET_CHUP; next; if (countitem(7690) >=1 && Class == JOB_NOVICE && !#Fato_Turchino ) { mes "[ Fato Turchino ]"; mes "Bene, vedo che sei un giovane Novice ed hai"; mes "uno <ITEM>Special Exchange Coupons<INFO>7690</INFO></ITEM> come richiesto!"; mes "Ricorda che posso fare questa magia ^FF0000solo una volta^000000... ora tocca a te, che classe Transcendent vuoi diventare?"; emotion ET_OK; next; if(sex) { switch(select("Rune Knight:Warlock:Ranger:Arch Bishop:Mechanic:Guillotine Cross:Royal Guard:Sorcerer:Minstrel:Sura:Genetic:Shadow Chaser:Rebellion:Kagerou")) { case 1: jobchange JOB_RUNE_KNIGHT_T; break; case 2: jobchange JOB_WARLOCK_T; break; case 3: jobchange JOB_RANGER_T; break; case 4: jobchange JOB_ARCH_BISHOP_T; break; case 5: jobchange JOB_MECHANIC_T; break; case 6: jobchange JOB_GUILLOTINE_CROSS_T; break; case 7: jobchange JOB_ROYAL_GUARD_T; break; case 8: jobchange JOB_SORCERER_T; break; case 9: jobchange JOB_MINSTREL_T; break; case 10: jobchange JOB_SURA_T; break; case 11: jobchange JOB_GENETIC_T; break; case 12: jobchange JOB_SHADOW_CHASER_T; break; case 13: jobchange JOB_REBELLION; break; case 14: jobchange JOB_KAGEROU; break; } } else { switch(select("Rune Knight:Warlock:Ranger:Arch Bishop:Mechanic:Guillotine Cross:Royal Guard:Sorcerer:Wanderer:Sura:Genetic:Shadow Chaser:Rebellion:Oboro")) { case 1: jobchange JOB_RUNE_KNIGHT_T; break; case 2: jobchange JOB_WARLOCK_T; break; case 3: jobchange JOB_RANGER_T; break; case 4: jobchange JOB_ARCH_BISHOP_T; break; case 5: jobchange JOB_MECHANIC_T; break; case 6: jobchange JOB_GUILLOTINE_CROSS_T; break; case 7: jobchange JOB_ROYAL_GUARD_T; break; case 8: jobchange JOB_SORCERER_T; break; case 9: jobchange JOB_WANDERER_T; break; case 10: jobchange JOB_SURA_T; break; case 11: jobchange JOB_GENETIC_T; break; case 12: jobchange JOB_SHADOW_CHASER_T; break; case 13: jobchange JOB_REBELLION; break; case 14: jobchange JOB_OBORO; break; } } delitem 7690,1; set #Fato_Turchino, 1; set Baselevel,Baselevel=99; set Joblevel,Joblevel=1; mes "[ Fato Turchino ]"; mes "Eccoti accontentato, spero che il mio \"servizietto\" sia stato di tuo gradimento!!!"; emotion ET_SEXY; next; mes "[ Fato Turchino ]"; mes "Torna quando vuoi, io sarò qui ad attenderti con ansia!"; emotion ET_THANKS; close; } mes "[ Fato Turchino ]"; mes "Ma Tesoruccio che combini? Posso offrire i miei \"servizietti\" solo ai Novice che hanno con loro uno <ITEM>Special Exchange Coupons<INFO>7690</INFO></ITEM> e che ^FF0000non hanno mai usufruito dei miei \"servizietti\"^000000 in passato, perchè posso fare questa magia solo una volta!!!!"; mes "Torna quando sarai in grado di soddisfarmi e io soddisferò te! ;-)"; emotion ET_SWEAT; end; } Tnx a lot for the support and suggestions!
  10. ok i also found the informations to create an account-level variable to use this NPC only for 1 character per account... if someone has any suggestions to improve it, this is the code: sec_in01,173,97,4 script Fato Turchino 617,{ mes "[Fato Turchino]"; mes "Ciao Tesoruccio, sono il tuo Fato Turchino personale... se sei"; mes "arrivato fino a me vuol dire che sei in possesso dell'oggetto dei miei desideri, e per questo potrò farti dono di una Classe"; mes "Transcendent a tua scelta e farti livellare fino al livello 99 senza perdere tempo ad expare!"; emotion ET_CHUP; next; if (countitem(501) >=1 && Class == JOB_NOVICE && !#Fato_Turchino ) { mes "Bene, vedo che sei un giovane Novice ed hai l'oggetto che cercavo come richiesto..."; mes "ora tocca a te, che classe Transcendent vuoi diventare?"; emotion ET_OK; next; switch(select("Rune Knight:Warlock:Ranger:Arch Bishop:Mechanic:Guillotine Cross:Royal Guard:Sorcerer:Minstrel:Wanderer:Sura:Genetic:Shadow Chaser:Rebellion:Kagerou:Oboro")) { case 1: jobchange JOB_RUNE_KNIGHT_T; break; case 2: jobchange JOB_WARLOCK_T; break; case 3: jobchange JOB_RANGER_T; break; case 4: jobchange JOB_ARCH_BISHOP_T; break; case 5: jobchange JOB_MECHANIC_T; break; case 6: jobchange JOB_GUILLOTINE_CROSS_T; break; case 7: jobchange JOB_ROYAL_GUARD_T; break; case 8: jobchange JOB_SORCERER_T; break; case 9: jobchange JOB_MINSTREL_T; break; case 10: jobchange JOB_WANDERER_T; break; case 11: jobchange JOB_SURA_T; break; case 12: jobchange JOB_GENETIC_T; break; case 13: jobchange JOB_SHADOW_CHASER_T; break; case 14: jobchange JOB_REBELLION; break; case 15: jobchange JOB_KAGEROU; break; case 16: jobchange JOB_OBORO; break; } delitem 501,1; set #Fato_Turchino, 1; set Baselevel,Baselevel=99; set Joblevel,Joblevel=1; mes "Eccoti accontentato, spero che il mio 'servizietto' sia stato di tuo gradimento!!!"; emotion ET_SEXY; next; mes "Torna quando vuoi, io sarò qui ad attenderti con ansia!"; emotion ET_THANKS; close; } mes "Ma Tesoruccio che combini? Posso offrire i miei 'servizietti' solo ai Novice che hanno con loro l'oggetto dei miei desideri!!!"; mes "Torna quando sarai in grado di soddisfarmi e io soddisferò te! ;-)"; emotion ET_SWEAT; end; }
  11. Thanks for the suggestion... I created the script (sorry for the dialogues in Italian language) and it works perfectly, but I remembered now that this possibility to change from Novice to a Trascendet Class must be possible only once per account. Any other suggestions for using and set a #key and value 0/1 in acc_reg_num? sec_in01,173,97,4 script Fato Turchino 617,{ mes "[Fato Turchino]"; mes "Ciao Tesoruccio, sono il tuo Fato Turchino personale... se sei"; mes "arrivato fino a me vuol dire che sei in possesso dell'oggetto dei miei desideri, e per questo potrò farti dono di una Classe"; mes "Transcendent a tua scelta e farti livellare fino al livello 99 senza perdite di tempo ad expare!"; emotion ET_CHUP; next; if (countitem(501) >=1 && Class == JOB_NOVICE ) { mes "Bene, vedo che sei un giovane Novice ed hai l'oggetto che cercavo come richiesto..."; mes "ora tocca a te, che classe Transcendent vuoi diventare?"; emotion ET_OK; next; switch(select("Rune Knight:Warlock:Ranger:Arch Bishop:Mechanic:Guillotine Cross:Royal Guard:Sorcerer:Minstrel:Wanderer:Sura:Genetic:Shadow Chaser:Rebellion:Kagerou:Oboro")) { case 1: jobchange JOB_RUNE_KNIGHT_T; break; case 2: jobchange JOB_WARLOCK_T; break; case 3: jobchange JOB_RANGER_T; break; case 4: jobchange JOB_ARCH_BISHOP_T; break; case 5: jobchange JOB_MECHANIC_T; break; case 6: jobchange JOB_GUILLOTINE_CROSS_T; break; case 7: jobchange JOB_ROYAL_GUARD_T; break; case 8: jobchange JOB_SORCERER_T; break; case 9: jobchange JOB_MINSTREL_T; break; case 10: jobchange JOB_WANDERER_T; break; case 11: jobchange JOB_SURA_T; break; case 12: jobchange JOB_GENETIC_T; break; case 13: jobchange JOB_SHADOW_CHASER_T; break; case 14: jobchange JOB_REBELLION; break; case 15: jobchange JOB_KAGEROU; break; case 16: jobchange JOB_OBORO; break; } delitem 501,1; set Baselevel,Baselevel=99; set Joblevel,Joblevel=1; mes "Eccoti accontentato, spero che il mio 'servizietto' sia stato di tuo gradimento!!!"; emotion ET_SEXY; next; mes "Torna quando vuoi, io sarò qui ad attenderti con ansia!"; emotion ET_THANKS; close; } mes "Ma Tesoruccio che combini? Posso offrire i miei 'servizietti' solo ai Novice che hanno con loro l'oggetto dei miei desideri!!!"; mes "Torna quando sarai in grado di soddisfarmi e io soddisferò te! ;-)"; emotion ET_SWEAT; end; }
  12. I only need it as a starting point... in reality the question will be more complex, the idea is to create an advertising campaign by spreading a "gift code", new registered users will be able to insert this code and receive an item (ex. a Red Potion! lol), and by giving this item to the npc I requested in this topic, they can exchange it for a transcendent class and level 99/1... it's all about marketing!
  13. Someone can help me make a simple "job changer" that for example lets you choose a transcendent class if: 1) you have a red potion (ID 501) 2) you are a Novice of any level (no super novice, no 1st/2nd/etc classes) ...and after these 2 requirements and after choosing the transcendet class, it removes the red potion, it change your class with that choice trascendend class and gives you the basic level at 99 and job level at 1 (99/1). It sounds simple but I really don't know where to start !!!
  14. ah ... I didn't know, great ... thanks for the tip!
  15. I have fixed the instant respawn of the Wizard (ID 3764)... REPLACE: OnSummonWizard: monster "pay_d03_i",55,75,"Wizard of Truth",3764,1,strnpcinfo(0)+"::OnSummonWizard"; end; WITH: OnSummonWizard: addtimer 60000, strnpcinfo(3) + "::On60secs"; end; On60secs: monster "pay_d03_i",55,75,"Wizard of Truth",3764,1,strnpcinfo(0)+"::OnSummonWizard"; end; ...change "addtimer 60000" (are 60 seconds) with all seconds you need! p.s.: it's correct "strnpcinfo(3)" or "strnpcinfo(0)" in the addtimer command???