Jump to content

Question

Posted

Hello guys, i got 3 issues i need some help uppon.

 

1.) Im trying to edit the movement locations of "scribe_leandro" (the npc that walks in Talking Island etc)... for example im trying to make him to move in other city - not in Talking Island.I know the paths he is following is located in "SuperPoint.bin" (i think) , but how can i edit that ? Or if there is another way to edit his movement paths please tell me.

 

2.)Also if someone knows where to edit the Four Sepulchers to start only on custom hours, please enlighten me.

 

3.)The 3rd issue is kinda tricky. Got a issue with some AI code, im trying to set the "TestNpc" that has the functions of increasing CRP and Level to 80 to give those services CRP/LVL by a certain item and amount.

This is the "TestNpc" code :

class 1 TestNpc : citizen
handler 3 14	//  TALKED
variable_begin
	"talker"
	"myself"
	"_choiceN"
	"_code"
	"_from_choice"
variable_end

push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
S881.	"test_npc.htm"
push_string S881
func_call 184680516	//  func[showPage]
shift_sp -2
shift_sp -1
exit_handler
handler_end

handler 32 123	//  MENU_SELECTED
variable_begin
	"talker"
	"ask"
	"reply"
	"myself"
	"_choiceN"
	"_code"
	"_from_choice"
variable_end

push_event	//  ask
push_const 160
add
fetch_i4
push_const 1
equal
branch_false L2
L1
push_event	//  reply
push_const 164
add
fetch_i4
push_const 1
equal
branch_false L4
L3
push_event	//  gg
push_const 632
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_const 1
func_call 218234898	//  func[setPCLevel]
shift_sp -2
shift_sp -1
jump L5
L4
push_event	//  reply
push_const 164
add
fetch_i4
push_const 2
equal
branch_false L7
L6
push_event	//  gg
push_const 632
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_const 80
func_call 218234898	//  func[setPCLevel]
shift_sp -2
shift_sp -1
L7
L5
jump L8
L2
push_event	//  ask
push_const 160
add
fetch_i4
push_const 2
equal
branch_false L10
L9
push_event	//  gg
push_const 632
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_const 3
func_call 218234899	//  func[AddPCSocial]
shift_sp -2
shift_sp -1
jump L11
L10
push_event	//  ask
push_const 160
add
fetch_i4
push_const 3
equal
branch_false L13
L12
push_event	//  gg
push_const 632
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_const 10000
func_call 218234900	//  func[updatePledgeNameValue]
shift_sp -2
shift_sp -1
jump L14
L13
push_event	//  ask
push_const 160
add
fetch_i4
push_const 4
equal
branch_false L16
L15
push_event	//  gg
push_const 632
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_const 2500
negate
func_call 218234900	//  func[updatePledgeNameValue]
shift_sp -2
shift_sp -1
L16
L14
L11
L8
handler_end

class_end

 

And i was trying to make it work like this code :

class 1 quest_tool : citizen
parameter_define_begin
int noblessItemId 57
int noblessItemCount 1000
int subjobItemId 57
int subjobItemCount 1000
parameter_define_end
handler 3 14	//  TALKED
variable_begin
	"talker"
	"myself"
	"_choiceN"
	"_code"
	"_from_choice"
variable_end

push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
S881.	"quest_tool_001.htm"
push_string S881
func_call 184680516	//  func[showPage]
shift_sp -2
shift_sp -1
exit_handler
handler_end

handler 32 380	//  MENU_SELECTED
variable_begin
	"ask"
	"reply"
	"talker"
	"myself"
	"_choiceN"
	"_code"
	"_from_choice"
variable_end

push_event	//  ask
push_const 160
add
fetch_i4
push_const 123
equal
branch_false L2
L1
push_event	//  reply
push_const 164
add
fetch_i4
push_const 1
equal
branch_false L4
L3
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_const 235
func_call 184680554	//  func[GetOneTimeQuestFlag]
shift_sp -2
push_const 1
less
push_reg_sp
fetch_i
branch_false L7
push_event	//  talker
push_const 40
add
fetch_i	//  level
push_const 1092
add
fetch_i4
push_const 74
greater
and
L7
branch_false L6
L5
push_parameter subjobItemId
push_const 0
equal
push_reg_sp
fetch_i
branch_true L10
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_parameter subjobItemId
func_call 184680579	//  func[OwnItemCount]
shift_sp -2
push_parameter subjobItemCount
greater_equal
or
L10
branch_false L9
L8
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_const 1110785
push_const 0
push_const 0
push_const 1000000
func_call 184877074	//  func[AddUseSkillDesire]
shift_sp -5
shift_sp -1
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_const 235
push_const 1
func_call 184746091	//  func[setOneTimeQuestFlag]
shift_sp -3
shift_sp -1
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
S882.	"ItemSound.quest_finish"
push_string S882
func_call 184680685	//  func[soundEffect]
shift_sp -2
shift_sp -1
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
S883.	"quest_tool_002.htm"
push_string S883
func_call 184680516	//  func[showPage]
shift_sp -2
shift_sp -1
push_parameter subjobItemId
push_const 0
greater
branch_false L12
L11
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_parameter subjobItemId
push_parameter subjobItemCount
func_call 184746114	//  func[DeleteItem1]
shift_sp -3
shift_sp -1
L12
jump L13
L9
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
S884.	"quest_tool_003.htm"
push_string S884
func_call 184680516	//  func[showPage]
shift_sp -2
shift_sp -1
L13
jump L14
L6
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
S885.	"quest_tool_004.htm"
push_string S885
func_call 184680516	//  func[showPage]
shift_sp -2
shift_sp -1
L14
L4
push_event	//  reply
push_const 164
add
fetch_i4
push_const 2
equal
branch_false L16
L15
push_event	//  talker
push_const 40
add
fetch_i	//  nobless_type
push_const 156
add
fetch_i4
push_const 0
equal
push_reg_sp
fetch_i
branch_false L19
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_const 247
func_call 184680554	//  func[GetOneTimeQuestFlag]
shift_sp -2
push_const 1
less
push_reg_sp
fetch_i
branch_false L20
push_event	//  talker
push_const 40
add
fetch_i	//  level
push_const 1092
add
fetch_i4
push_const 74
greater
and
L20
and
L19
branch_false L18
L17
push_parameter noblessItemId
push_const 0
equal
push_reg_sp
fetch_i
branch_true L23
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_parameter noblessItemId
func_call 184680579	//  func[OwnItemCount]
shift_sp -2
push_parameter noblessItemCount
greater_equal
or
L23
branch_false L22
L21
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_const 7694
push_const 1
func_call 184746111	//  func[GiveItem1]
shift_sp -3
shift_sp -1
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
S886.	"ItemSound.quest_finish"
push_string S886
func_call 184680685	//  func[soundEffect]
shift_sp -2
shift_sp -1
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
S887.	"quest_tool_005.htm"
push_string S887
func_call 184680516	//  func[showPage]
shift_sp -2
shift_sp -1
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_const 247
push_const 1
func_call 184746091	//  func[setOneTimeQuestFlag]
shift_sp -3
shift_sp -1
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_const 1110785
push_const 0
push_const 0
push_const 1000000
func_call 184877074	//  func[AddUseSkillDesire]
shift_sp -5
shift_sp -1
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
func_call 184615315	//  func[setNobless]
shift_sp -1
shift_sp -1
push_parameter noblessItemId
push_const 0
greater
branch_false L25
L24
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_parameter noblessItemId
push_parameter noblessItemCount
func_call 184746114	//  func[DeleteItem1]
shift_sp -3
shift_sp -1
L25
jump L26
L22
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
S888.	"quest_tool_003.htm"
push_string S888
func_call 184680516	//  func[showPage]
shift_sp -2
shift_sp -1
L26
jump L27
L18
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
S889.	"quest_tool_004.htm"
push_string S889
func_call 184680516	//  func[showPage]
shift_sp -2
shift_sp -1
L27
L16
L2
call_super
handler_end

class_end

This code allows a player to obtain subclass/nobless ability for a certain amount of adena, i would like to make the same method for the TestNpc AI code to give CRP and Level 80 for a certain item/amount. Having a hard time doing it...untill now no success.

 

Can anyone help me in these matters ? I cannot figure out what im doing wrong all my tests for the moment are without success.

Im still learning alot and i would apreciate some professional words, please refrain yourselfs of flamish words.

Thank you.

6 answers to this question

Recommended Posts

  • 0
Posted

I recommend you decompiling the AI and working in NASC code and compile it again. It will make your work easier.

  • 0
Posted

I recommend you learn abit before just being a pussy and asking for help because it's requires 2 minutes of thinking in general....

 

1. Superpoint has an internal format - research it or pesker someone that bothered.

I can't remember if anyone did tho - probably not outside closed sources.

I don't deem you the research type - so your a tad outa luck here.

 

2. AI. Go research. Find the archetype AIs and maker classes for 4s - look at script event code and find the timing checks. Change numbers to match desired "run time".

 

 

 

3.

Thirdly, your comparing your own GF AI vs C4 AI.

 

Showpage GF: 235012165

Showpage C4: 184680516

 

Your first part contains functions only availeble in GF and therefor it is not possible to use those functions in AI script.

(AddPCSocial, SetPCLevel, UpdatePledgeNameValue - but ironicly you use C4 offsets\ids for vars\functions ala showpage).

There is no public GF compiler\decompiler - and since everyone is a n00b i'm geussing you bought a GF pack that fixes the few errors GF has.

Ask in the forum there for a compiler\decompiler.

 

 

Fourthly - there are no differences between structure of GF vs C4 ai stack - they're identical.

Only changes are possible params to functions and IDs.

 

 

If your smart youll check all functions in your given c4 code for changes in GF - and move them to GF IDs (With corresponding extra params if neccesary).

This is time consuming - but only option short of using the online compiler crap kation\denis\fr3d deliver.

 

That or actually learning AI Stack by itself - it's not that complex if you "cheat copy pasta" checks and function calls.

 

 

 

  • 0
Posted

Sighed im a newbie regarding this, as i said im still learning stuff :) I just wanted some tip or a start point.

 

And Bigmac , at point one : I already solved this issue, was not hard, just a bit of google.

At point two : Under testing atm, some success...still under work.

At point three : Actually im using Vanganth latest IL files, and i do not have any complier/decomplier... and i still got no success in doing the AI code to match my previous one. Still looking for some help in this matter, if you got the knowledge to give me some tips in how to do the modification to fit my purpose i would apreciate it.

Once again i repeat, im new at this and im learning day by day :)

  • 0
Posted

If you are using Vanganth files, which are C4 based, you should find the AI / Quest Development Kit from smeli, it has the tools needed to work with, as for SuperPoint, i think i wrote a buggy editor, is on a HDD just need to find which one, i made some cleanup and im not sure if i still have it.

  • 0
Posted

If you are using Vanganth files, which are C4 based, you should find the AI / Quest Development Kit from smeli, it has the tools needed to work with, as for SuperPoint, i think i wrote a buggy editor, is on a HDD just need to find which one, i made some cleanup and im not sure if i still have it.

Going to try to find the kit from smeli, once im home.

If you could find that editor and upload i would apreciate it.

Guest
This topic is now closed to further replies.


  • Posts

    • The beta server wipes Friday. Fresh start for everyone.   We're launching the Founders Sprint - a 6-day race before the official launch on April 17th.   Reach Rebirth #1 → 1 month Supporter (starts at launch) Reach Rebirth #3 → 1 month Champion (starts at launch) Reach Rebirth #7 → 1 month Legend (starts at launch)   First player to reach Rebirth #7 wins €50!   Event runs April 10th – 16th, 15:00 UTC. Launch is April 17th, 15:00 UTC. Your rewards activate on launch day. See you on Friday!
    • Introducing: Containers to Roll   Players now have the ability to win containers/cases via the Roll System. Additionally I also added a global leaderboard displaying the users with the most roll games. This can be disabled/enabled via Admin Management Panel. Also improved the winning display with a volumetric Godrays effect.  
    • I search job: posting your advertisement(sale,service) on various forums. Contacts for communication. You can find link for download messenger using Google search.   Telegram https://t.me/negotiato_r @negotiato_r   Element(based in United Kingdom) You can find me using this name. @negotiato-r:matrix.org   Session(based in Switzerland) You can find me using this name. 05770c2eda571fc8d10ec0e79e258ec0d9189def2a3e1f2ace1cd29a2174d40723   Delta Chat(based in Germany) You can find me using the link below. https://i.delta.chat/#1ABEBFFCBC1AEE629111387073FFDA1835BB423E&i=6WtJxcgJGcFD3vIpglQfhe5J&s=f2EkRsqxAeFYep9g9s1y1aIf&a=xuozjaudg%40nine.testrun.org&n=negotiator   I ask administrator or moderator not to consider this link an advertisement for messenger.  This is only link that people can use to contact me.  There is also QR code option,but you have to use mobile phone to access QR code.  This means you have to install VPN app on your mobile phone,then sync your account from your mobile phone to your laptop or computer.  This is a very cumbersome process.  It's much easier to use pre-made link for laptop or computer. Hello. I intermediary. I search job: posting your advertisement(sale,service) on various forums.  My service is free: posting your advertisement(sale,service) on various forums. I know these forum addresses,i can post your ad(for sale,service) on various forums. Dear sellers and those who provide any services. I offer you cooperation. My commission is not taken from your amount,my commission is added to your amount. From money received from guarantor,you pay me my commission.  Payment is made on Tether USDT TRC20 or on Tron TRX. Commission for sending from your wallet to my wallet paid by buyer. When communicating via messenger,please tell me what your commission is for sending on Tether USDT TRC20 or on Tron TRX.  Amount(fees) you'll pay as shipping fee to my wallet will be added to total amount. Payment will be made by guarantor to your payment details. Buyer deposits total amount with my percentage. Send me in messenger your ad copy with price(s). Independently from that through which messenger will be communication,buyer suggests using forum guarantor,gives forum address(http address) and send link(http address) to me,link i will pass on to you(seller) for consideration. If you as seller are not satisfied garant service on proposed forum,i say buyer goodbye and he goes to look for his product(service) from someone else,as result i will wait new buyer.   If sale amount is less than $1000,i receive 20 percent above your total amount. If sale amount is more than $1000,i receive 10 percent above your total amount. I do not deal with either buyers or sellers from Ukraine(i do not cooperate with this country). I will not accept any advertising related to Ukraine,as i do not cooperate with this country. For buyers from other countries guarantor's services are entirely at buyer's expense. You can offer me any other area cooperation that does not violate law.  I do not give 100% guarantee that i will accept your offer,which is not initially related to my advertising area.  It is 50/50 that i will either refuse you or accept your offer.  Everything will depend on whether this offer does not violate law.  I will read information about your product(service) in Google search engine that you offer me for advertising and make decision,which i will inform you in messenger for communication.  I will need some time to familiarize myself with information from Google search engine. I'm currently interested in 4 areas: 1)promotional offers with discounts only(coupons or promo codes):food,shoes,clothing,furniture,cosmetics,household appliances,consumer electronics,taxis,bus tickets,train tickets,plane tickets,hotel tickets,gas coupons or promo codes for car owners I do not advertise Ukraine,do not cooperate with it and have no dealings with it. I will not advertise anything related to carding.  Buyer deposits amount for product(service) plus my commission(20 percent based on amount for product or service) into guarantor and then receives their product(service) in forum transaction.  I would be grateful if it were possible for buyer to receive their goods somehow after depositing money with guarantor,without return address or contact information for future purchases. It's not in my best interests for buyer to communicate directly with you after first purchase. If this isn't possible,then you will simply agree with buyer to receive money with my percentage higher than your initial payment each time. If same customer purchases from you second time,customer pay you together with my percentage and i receive this percentage from you,this will provide additional incentive to advertise,i will promoting you on other forums.     2)selling real estate(houses or apartments) I'm not interested renting. I'm willing to advertise all countries except Russia and Ukraine.  I won't advertise these two countries. I don't advertise Ukraine,don't cooperate with it and have no dealings with it. I'm not interested house or apartment listings that appear on Google search pages,as buyer can find information there themselves without my help and buy house or apartment in desired country. I'm interested house or apartment that aren't listed on Google search. How i see this ad:buyer sees my listing for desired country and if they're interested,they deposit 10 percent listed price for house or apartment in Garant Service. Buyer sets  deadline in forum transaction,during which i either receive my money or don't.  Then buyer receive an address,day and time to meet with seller. Buyer takes lawyer and notary with them and flies(or is driving car) to  given address. If purchase transaction falls through,buyer collects their percentage from guarantor. I don't think buyer willing to buy  house or apartment worth more than 12545$ is willing to cheat me out  that 10 percent by making up  fake story about  failed deal.       3)selling telegram premium status Buyer has two options: 1) transaction through guarantor 2) transaction without guarantor   If transaction is through guarantor. I(intermediary) conduct transaction with guarantor. Buyer specifies following terms in terms transaction: 1) i authorize the disclosure of the transaction name to third parties(that is to you) 2) i authorize the disclosure of the seller's payment details(your payment details) to third parties(that is to you) 3) i authorize the disclosure of the total transaction amount to third parties(that is to you) 4) i do not authorize the disclosure of my profile link on this forum to third parties 5) i do not authorize the disclosure of my contact information(if i have any in my profile on this forum) to third parties   If activating premium status requires logging into buyer's account,i will do this.  You will provide me with instructions on how to activate premium status for buyer's account. If you want to contact me about selling premium status on telegram, but my telegram account is unavailable(account is frozen or telegram system has deleted it),you can contact me using my other contact information. To activate premium status by logging into buyer's account,i will download portable version telegram from official website and launch it on my laptop.  I will enter mobile phone number buyer provides me in messenger they originally contacted me through and send login code to this number.  Buyer will then send me login code. Once transaction is finalized and buyer has deposited funds into guarantor's account I'll notify you via messenger. You register on  forum suggested by buyer.  Message guarantor privately on forum,asking them to share all points I've outlined above.  Buyer will provide  link to guarantor's forum profile in advance or you can find guarantor's forum profile on forum yourself,it's up to you to decide. After verifying that your payment details are included and that transaction amount matches amount agreed upon in messenger, you upgrade buyer to premium status. Your payment details are specified in application,in formquestionnaire for forum transaction,but you won't receive money from guarantor until buyer will not receive service(product),as soon as buyer receives service from you,guarantor will pay you. If buyer has received premium status,you receive funds from guarantor and then pay me my commission using my payment details. The fee for sending from your wallet to my wallet is covered by buyer,not you. When communicating via messenger please tell me your fee for sending to Tether USDT TRC20 or Tron TRX. Buyer deposits funds into guarantor with total amount already including my percentage plus buyer's fee for sending,which you will spend by paying me my percentage when transferring from Tether USDT TRC20 or Tron TRX. If transaction is without guarantor. Buyer pays money to your payment details received from me via messenger and waits for service to be rendered. I will inform buyer total amount when communicating via messenger. You upgrade buyer to premium status through me and then you pay me my percentage to my payment details.  If activating premium status requires logging into buyer's account. I will do so.  You will provide me with instructions on how to activate premium status for buyer's account. Fee for sending from your wallet to my wallet is covered by buyer,not you.  When communicating via messenger please tell me your fee for sending to Tether(USDT TRC20) or Tron(TRX). Buyer pays you total amount,including my percentage plus buyer's fee for sending,which you will spend by paying me my percentage when transferring from Tether USDT TRC20 or Tron TRX.       4)i offer cooperation to specialists who provide services for collecting and submitting documents to consulate for citizenship,residence permits,visas and schengen visas I will advertise service collecting and sending documents to consulate only for following countries:Commonwealth of Independent States,Europe,Mexico,United states america,Canada,United Kingdom,Asia,Africa. Russia and Ukraine:these two countries i will not advertise. Buyer pays guarantor(amount from seller) for service for collecting and sending documents to consulate plus my commission(10 or 20 percent based on service fee). Buyer sets deadline in forum transaction within which they must receive service. Then in forum transaction buyer wait provision service. If after specified period(which will be specified in transaction),consulate refuses client's service,you as specialist have right to charge exact amount for your work through guarantor,since you spent your time on it(this clause will be specified in transaction). What will be amount you will decide,send solution through me.I'll let the buyer know. Client does not pay my percentage if consulate refuses client's service(this clause will be specified in transaction).  In case refusal to buyer from consulate you will need to confirm this refusal through website. Whenever you collect and submit documents on country's website,request is created through their website.  You will provide access to this request to guarantor.  This is necessary to ensure that buyer doesn't pay for nothing,meaning amount you will be required to receive through  guarantor for service provided if  consulate's request is unsuccessful.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and 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..